Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.296/2.296, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 180.8 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009723, allocations: 95.69 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.672e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3415, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.472/6.813, allocations: 1.95 GB / 3.168 GB, free: 308.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/6.814, allocations: 88.58 kB / 3.169 GB, free: 308.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.552/8.365, allocations: 477.3 MB / 3.635 GB, free: 291.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.203e-06/8.365, allocations: 0 / 3.635 GB, free: 291.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001188/8.365, allocations: 28.62 kB / 3.635 GB, free: 291.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004781/8.37, allocations: 1.486 MB / 3.636 GB, free: 290.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/8.37, allocations: 10.06 kB / 3.636 GB, free: 290.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004194/8.371, allocations: 110.6 kB / 3.636 GB, free: 290.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/8.373, allocations: 295.2 kB / 3.637 GB, free: 290 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/8.375, allocations: 0.8326 MB / 3.637 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/8.375, allocations: 55.53 kB / 3.637 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/8.376, allocations: 70.64 kB / 3.637 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/8.377, allocations: 0.9594 MB / 3.638 GB, free: 288.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/8.377, allocations: 0 / 3.638 GB, free: 288.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/8.378, allocations: 30.58 kB / 3.638 GB, free: 288.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/8.378, allocations: 74.86 kB / 3.638 GB, free: 288.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/8.379, allocations: 0.968 MB / 3.639 GB, free: 288.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/8.385, allocations: 3.593 MB / 3.643 GB, free: 285.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/8.386, allocations: 0.6363 MB / 3.644 GB, free: 285.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/8.386, allocations: 368.7 kB / 3.644 GB, free: 285.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/8.387, allocations: 197 kB / 3.644 GB, free: 284.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/8.387, allocations: 38.5 kB / 3.644 GB, free: 284.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 2.585e-06/8.387, allocations: 0 / 3.644 GB, free: 284.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.001342/8.388, allocations: 0.7427 MB / 3.645 GB, free: 284.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/8.388, allocations: 111.2 kB / 3.645 GB, free: 284.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/8.389, allocations: 0.6959 MB / 3.646 GB, free: 284 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.753e-05/8.389, allocations: 44.2 kB / 3.646 GB, free: 283.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/8.389, allocations: 412.5 kB / 3.646 GB, free: 283.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/8.389, allocations: 216.8 kB / 3.646 GB, free: 283.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/8.389, allocations: 15.47 kB / 3.646 GB, free: 283.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/8.389, allocations: 340.9 kB / 3.647 GB, free: 283.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/8.39, allocations: 312.4 kB / 3.647 GB, free: 282.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/8.39, allocations: 428.9 kB / 3.647 GB, free: 282.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/8.391, allocations: 393.8 kB / 3.648 GB, free: 282.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/8.391, allocations: 0 / 3.648 GB, free: 282.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001358/8.392, allocations: 0.887 MB / 3.649 GB, free: 282 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/8.393, allocations: 0.6964 MB / 3.649 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/8.393, allocations: 3.344 kB / 3.649 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/8.393, allocations: 14.06 kB / 3.649 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/8.393, allocations: 148.7 kB / 3.649 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/8.393, allocations: 3.438 kB / 3.649 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/8.394, allocations: 115.5 kB / 3.65 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/8.394, allocations: 24.72 kB / 3.65 GB, free: 281.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/8.395, allocations: 6.5 kB / 3.65 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/8.396, allocations: 0.7413 MB / 3.65 GB, free: 280.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/8.396, allocations: 6.562 kB / 3.65 GB, free: 280.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/8.396, allocations: 4.188 kB / 3.65 GB, free: 280.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/8.396, allocations: 152.8 kB / 3.65 GB, free: 280.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/8.396, allocations: 6.5 kB / 3.65 GB, free: 280.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/8.397, allocations: 100.7 kB / 3.651 GB, free: 280.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/8.397, allocations: 22.56 kB / 3.651 GB, free: 280.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001812/8.397, allocations: 154.6 kB / 3.651 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/8.398, allocations: 94.03 kB / 3.651 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/8.399, allocations: 0.7878 MB / 3.652 GB, free: 280 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/8.399, allocations: 3.781 kB / 3.652 GB, free: 280 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/8.399, allocations: 7.938 kB / 3.652 GB, free: 280 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008318/8.4, allocations: 0.7273 MB / 3.652 GB, free: 279.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/8.403, allocations: 2.077 MB / 3.654 GB, free: 278.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/8.403, allocations: 4 kB / 3.654 GB, free: 278.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/8.403, allocations: 136.2 kB / 3.654 GB, free: 278 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/8.403, allocations: 12 kB / 3.654 GB, free: 278 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/8.403, allocations: 16 kB / 3.654 GB, free: 278 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/8.403, allocations: 7.984 kB / 3.654 GB, free: 278 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/8.403, allocations: 7.938 kB / 3.654 GB, free: 278 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/8.405, allocations: 1.5 MB / 3.656 GB, free: 276.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/8.406, allocations: 259.8 kB / 3.656 GB, free: 276 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/8.406, allocations: 16 kB / 3.656 GB, free: 276 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/8.407, allocations: 51.89 kB / 3.656 GB, free: 276 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/8.407, allocations: 44.28 kB / 3.656 GB, free: 275.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/8.407, allocations: 31.98 kB / 3.656 GB, free: 275.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008504/8.408, allocations: 0.5421 MB / 3.657 GB, free: 275.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/8.408, allocations: 0 / 3.657 GB, free: 275.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003582/8.412, allocations: 0.9282 MB / 3.658 GB, free: 274.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005496/8.417, allocations: 4.664 MB / 3.662 GB, free: 269.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001857/8.419, allocations: 1.153 MB / 3.663 GB, free: 268.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/8.419, allocations: 0.875 kB / 3.663 GB, free: 268.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/8.42, allocations: 366.3 kB / 3.664 GB, free: 268.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/8.422, allocations: 0.5081 MB / 3.664 GB, free: 267.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/8.426, allocations: 1.916 MB / 3.666 GB, free: 265.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/8.427, allocations: 1.098 MB / 3.667 GB, free: 264.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001603/8.428, allocations: 489.9 kB / 3.668 GB, free: 264.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/8.429, allocations: 327.3 kB / 3.668 GB, free: 263.9 MB / 1.167 GB Notification: Performance of SimCode: time 4.61e-07/8.429, allocations: 0 / 3.668 GB, free: 263.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08398/8.513, allocations: 55.17 MB / 3.722 GB, free: 209 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/8.513, allocations: 210 kB / 3.722 GB, free: 208.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.784/12.3, allocations: 0 / 3.722 GB, free: 208.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat does not exist to compare? outputFormat=mat