Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001116/0.001116, allocations: 180 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001108/0.001108, allocations: 100.2 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 10.38 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.36, allocations: 445.4 MB / 1.658 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.36, allocations: 99.27 kB / 1.658 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.154/9.514, allocations: 2.369 GB / 4.027 GB, free: 80.35 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.467e-06/9.514, allocations: 0 / 4.027 GB, free: 80.35 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001164/9.515, allocations: 111.9 kB / 4.027 GB, free: 80.24 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.028/9.543, allocations: 7.854 MB / 4.035 GB, free: 72.29 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 8.702e-05/9.543, allocations: 8.031 kB / 4.035 GB, free: 72.29 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/9.545, allocations: 283.1 kB / 4.035 GB, free: 72 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/9.555, allocations: 1.543 MB / 4.037 GB, free: 70.45 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07236/9.628, allocations: 31.93 MB / 4.068 GB, free: 38.39 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/9.628, allocations: 188.7 kB / 4.068 GB, free: 38.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/9.629, allocations: 240 kB / 4.068 GB, free: 37.97 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007678/9.637, allocations: 3.01 MB / 4.071 GB, free: 34.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.238e-05/9.637, allocations: 3.938 kB / 4.071 GB, free: 34.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/9.638, allocations: 84 kB / 4.071 GB, free: 34.72 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/9.638, allocations: 55.94 kB / 4.071 GB, free: 34.66 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005905/9.644, allocations: 2.287 MB / 4.074 GB, free: 32.38 MB / 1.198 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02475/9.668, allocations: 13.49 MB / 4.087 GB, free: 18.36 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/9.673, allocations: 1.866 MB / 4.089 GB, free: 16.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008426/9.681, allocations: 5.326 MB / 4.094 GB, free: 10.84 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002325/9.684, allocations: 1.316 MB / 4.095 GB, free: 9.516 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002129/9.686, allocations: 222.1 kB / 4.095 GB, free: 9.297 MB / 1.198 GB Notification: Performance of pre-optimization done (n=92): time 5.03e-06/9.686, allocations: 0 / 4.095 GB, free: 9.297 MB / 1.198 GB Notification: Performance of matching and sorting (n=92): time 0.01223/9.698, allocations: 3.688 MB / 4.099 GB, free: 5.512 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/9.698, allocations: 115.8 kB / 4.099 GB, free: 5.371 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009959/9.708, allocations: 5.291 MB / 4.104 GB, free: 108 kB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.000711/9.709, allocations: 65.69 kB / 4.104 GB, free: 36 kB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002474/9.712, allocations: 2.149 MB / 4.106 GB, free: 13.86 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/9.712, allocations: 323.4 kB / 4.107 GB, free: 13.54 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/9.712, allocations: 40 kB / 4.107 GB, free: 13.5 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001957/9.713, allocations: 390 kB / 4.107 GB, free: 13.12 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/9.715, allocations: 0.9448 MB / 4.108 GB, free: 12.17 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/9.718, allocations: 2.018 MB / 4.11 GB, free: 9.645 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/9.721, allocations: 1.156 MB / 4.111 GB, free: 8.492 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/9.721, allocations: 8 kB / 4.111 GB, free: 8.484 MB / 1.214 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008404/9.729, allocations: 3.364 MB / 4.114 GB, free: 5.094 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.005017/9.734, allocations: 13.79 MB / 4.128 GB, free: 6.176 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.467e-05/9.734, allocations: 28 kB / 4.128 GB, free: 6.148 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/9.736, allocations: 390.7 kB / 4.128 GB, free: 5.766 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/9.739, allocations: 0.5804 MB / 4.129 GB, free: 5.188 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8045/10.54, allocations: 5.253 MB / 4.134 GB, free: 167.3 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/10.55, allocations: 223.4 kB / 4.134 GB, free: 167.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007468/10.55, allocations: 215.4 kB / 4.134 GB, free: 167.3 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/10.55, allocations: 2.906 kB / 4.134 GB, free: 167.3 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007469/10.56, allocations: 3.072 MB / 4.137 GB, free: 167.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.633e-05/10.56, allocations: 26.62 kB / 4.137 GB, free: 167.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/10.56, allocations: 390.8 kB / 4.138 GB, free: 167.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/10.56, allocations: 0.6219 MB / 4.138 GB, free: 167.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/10.56, allocations: 2.57 MB / 4.141 GB, free: 165.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/10.57, allocations: 213.2 kB / 4.141 GB, free: 165.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/10.57, allocations: 210.1 kB / 4.141 GB, free: 165.2 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003974/10.57, allocations: 1.182 MB / 4.142 GB, free: 165 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/10.57, allocations: 437.5 kB / 4.143 GB, free: 165 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/10.58, allocations: 2.942 MB / 4.146 GB, free: 164.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/10.58, allocations: 16.64 kB / 4.146 GB, free: 164.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/10.58, allocations: 0 / 4.146 GB, free: 164.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/10.58, allocations: 6.594 kB / 4.146 GB, free: 164.8 MB / 1.229 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.01778/10.6, allocations: 6.357 MB / 4.152 GB, free: 164.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/10.6, allocations: 2.703 kB / 4.152 GB, free: 164.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/10.6, allocations: 255.5 kB / 4.152 GB, free: 164.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/10.6, allocations: 412 kB / 4.153 GB, free: 164.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/10.6, allocations: 48.11 kB / 4.153 GB, free: 164.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/10.61, allocations: 4.961 MB / 4.157 GB, free: 160.1 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/10.61, allocations: 2.312 kB / 4.157 GB, free: 160.1 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/10.61, allocations: 2.771 MB / 4.16 GB, free: 159.6 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/10.62, allocations: 0.9585 MB / 4.161 GB, free: 159.2 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005093/10.62, allocations: 24.88 kB / 4.161 GB, free: 159.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/10.62, allocations: 204.1 kB / 4.161 GB, free: 159.2 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/10.62, allocations: 87.7 kB / 4.161 GB, free: 159.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/10.62, allocations: 73.69 kB / 4.161 GB, free: 159.2 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.00817/10.63, allocations: 4.029 MB / 4.165 GB, free: 159 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.91e-07/10.63, allocations: 0 / 4.165 GB, free: 159 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.008155/10.64, allocations: 2.003 MB / 4.167 GB, free: 159 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/10.65, allocations: 5.776 MB / 4.173 GB, free: 157.2 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.009049/10.66, allocations: 4.116 MB / 4.177 GB, free: 157.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/10.66, allocations: 0 / 4.177 GB, free: 157.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/10.66, allocations: 1.019 MB / 4.178 GB, free: 157.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008784/10.67, allocations: 2.167 MB / 4.18 GB, free: 157.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/10.69, allocations: 30.95 MB / 4.21 GB, free: 132.2 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/10.69, allocations: 2.71 MB / 4.213 GB, free: 131.4 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.005943/10.69, allocations: 1.245 MB / 4.214 GB, free: 131.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/10.7, allocations: 1.944 MB / 4.216 GB, free: 131.3 MB / 1.229 GB Notification: Performance of SimCode: time 7.32e-07/10.7, allocations: 2.625 kB / 4.216 GB, free: 131.3 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2418/10.94, allocations: 150.2 MB / 4.363 GB, free: 124.2 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/10.94, allocations: 240.8 kB / 4.363 GB, free: 124 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/18.72, allocations: 0 / 4.363 GB, free: 124 MB / 1.229 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat does not exist to compare? outputFormat=mat