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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 15.98 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7405, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.07919/0.8197, allocations: 79.74 MB / 1.031 GB, free: 240 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04043/0.8602, allocations: 26.72 MB / 1.058 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006303/0.8665, allocations: 127.2 kB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006159/0.8727, allocations: 1.621 MB / 1.059 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.8892, allocations: 4.627 MB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.9011, allocations: 3.726 MB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.9139, allocations: 5.463 MB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004604/0.9185, allocations: 2.66 MB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005737/0.9243, allocations: 2.772 MB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.9274, allocations: 1.937 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006309/0.9281, allocations: 164 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.9325, allocations: 1.775 MB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.9339, allocations: 1.281 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.9355, allocations: 0.9912 MB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007368/0.9429, allocations: 5.981 MB / 1.09 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.943, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.314e-06/0.943, allocations: 4 kB / 1.09 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000155/0.9431, allocations: 0 / 1.09 GB, free: 4.273 MB / 0.8419 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.01033/0.9535, allocations: 5.359 MB / 1.095 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.9535, allocations: 12.03 kB / 1.095 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005765/0.9541, allocations: 287.1 kB / 1.095 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009874/0.964, allocations: 1.691 MB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02104/0.9851, allocations: 8.842 MB / 1.106 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007907/0.9859, allocations: 316.9 kB / 1.106 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006003/0.9865, allocations: 235.9 kB / 1.106 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.9923, allocations: 3.068 MB / 1.109 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.9924, allocations: 4 kB / 1.109 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.9926, allocations: 87.95 kB / 1.109 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.9927, allocations: 48 kB / 1.109 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.9991, allocations: 2.455 MB / 1.112 GB, free: 13.58 MB / 0.8731 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.0205/1.02, allocations: 12.96 MB / 1.124 GB, free: 16 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005748/1.025, allocations: 1.974 MB / 1.126 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008761/1.034, allocations: 4.495 MB / 1.131 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002966/1.037, allocations: 1.375 MB / 1.132 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001659/1.039, allocations: 229.8 kB / 1.132 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=87): time 3.557e-06/1.039, allocations: 0 / 1.132 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87): time 0.007924/1.047, allocations: 2.88 MB / 1.135 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/1.047, allocations: 119.8 kB / 1.135 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009494/1.056, allocations: 7.149 MB / 1.142 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005071/1.057, allocations: 61.59 kB / 1.142 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/1.059, allocations: 2.145 MB / 1.144 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005223/1.06, allocations: 303.6 kB / 1.145 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.06, allocations: 36 kB / 1.145 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.06, allocations: 385.8 kB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/1.063, allocations: 1.152 MB / 1.146 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/1.066, allocations: 2.13 MB / 1.148 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/1.069, allocations: 1.325 MB / 1.15 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.069, allocations: 8 kB / 1.15 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007631/1.077, allocations: 3.575 MB / 1.153 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.004734/1.081, allocations: 13.36 MB / 1.166 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.113e-05/1.081, allocations: 28 kB / 1.166 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.037e-05/1.081, allocations: 44 kB / 1.166 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/1.085, allocations: 0.6553 MB / 1.167 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/1.088, allocations: 3.004 MB / 1.17 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/1.092, allocations: 273 kB / 1.17 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000551/1.093, allocations: 203.9 kB / 1.17 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.093, allocations: 7.938 kB / 1.17 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006643/1.099, allocations: 3.508 MB / 1.174 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-05/1.1, allocations: 28 kB / 1.174 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/1.1, allocations: 40 kB / 1.174 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/1.103, allocations: 0.6713 MB / 1.174 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-05/1.103, allocations: 59.78 kB / 1.174 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/1.106, allocations: 253 kB / 1.175 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/1.107, allocations: 187.9 kB / 1.175 GB, free: 10.36 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (226): * Single equations (assignments): 218 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.002533/1.109, allocations: 1.173 MB / 1.176 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.11, allocations: 434.3 kB / 1.176 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/1.118, allocations: 2.819 MB / 1.179 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/1.118, allocations: 11.98 kB / 1.179 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/1.118, allocations: 4 kB / 1.179 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/1.118, allocations: 3.984 kB / 1.179 GB, free: 5.887 MB / 0.9356 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.01299/1.131, allocations: 5.678 MB / 1.185 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.131, allocations: 7.938 kB / 1.185 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.132, allocations: 335.8 kB / 1.185 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/1.133, allocations: 145.6 kB / 1.185 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.133, allocations: 47.91 kB / 1.185 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.135, allocations: 2.671 MB / 1.188 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.135, allocations: 288 / 1.188 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006412/1.141, allocations: 2.648 MB / 1.19 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.143, allocations: 0.7643 MB / 1.191 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009742/1.144, allocations: 27.94 kB / 1.191 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.147, allocations: 239.6 kB / 1.191 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.147, allocations: 84.88 kB / 1.191 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.148, allocations: 79.94 kB / 1.192 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.007185/1.155, allocations: 5.12 MB / 1.197 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.71e-07/1.155, allocations: 3.938 kB / 1.197 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006964/1.162, allocations: 1.797 MB / 1.198 GB, free: 1.965 MB / 0.9512 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 (110): * Single equations (assignments): 94 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009276/1.171, allocations: 4.287 MB / 1.203 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01326/1.184, allocations: 4.674 MB / 1.207 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.184, allocations: 0.5 kB / 1.207 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003247/1.188, allocations: 1.06 MB / 1.208 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/1.198, allocations: 2.19 MB / 1.21 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0293/1.227, allocations: 30.39 MB / 1.24 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/1.23, allocations: 2.695 MB / 1.243 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006364/1.236, allocations: 1.224 MB / 1.244 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00308/1.239, allocations: 1.964 MB / 1.246 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/1.239, allocations: 0 / 1.246 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7122/1.951, allocations: 130.1 MB / 1.373 GB, free: 198.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/1.952, allocations: 250.1 kB / 1.373 GB, free: 197.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.441/7.393, allocations: 0 / 1.373 GB, free: 197.9 MB / 1.014 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