Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.MoverStages,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.MoverStages,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8217/0.8217, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 184.6 kB / 182.2 MB, free: 9.406 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009422, allocations: 100 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 285.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.618e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4072, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8367/1.244, allocations: 403.8 MB / 1.152 GB, free: 10.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.244, allocations: 87.64 kB / 1.152 GB, free: 10.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.747/9.991, allocations: 2.358 GB / 3.51 GB, free: 85.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.643e-06/9.991, allocations: 1.625 kB / 3.51 GB, free: 85.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005918/9.992, allocations: 104 kB / 3.51 GB, free: 85.41 MB / 0.7605 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.009938/10, allocations: 4.036 MB / 3.514 GB, free: 83.4 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/10, allocations: 7.031 kB / 3.514 GB, free: 83.4 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/10.01, allocations: 1.184 MB / 3.515 GB, free: 83.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06508/10.07, allocations: 31.53 MB / 3.546 GB, free: 81.29 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/10.07, allocations: 72 kB / 3.546 GB, free: 81.29 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009663/10.07, allocations: 142.3 kB / 3.546 GB, free: 81.29 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004353/10.08, allocations: 2.241 MB / 3.548 GB, free: 81.27 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/10.08, allocations: 2.511 MB / 3.551 GB, free: 80.89 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/10.08, allocations: 3.469 kB / 3.551 GB, free: 80.89 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/10.08, allocations: 6.672 kB / 3.551 GB, free: 80.89 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/10.08, allocations: 50.56 kB / 3.551 GB, free: 80.89 MB / 0.7605 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.02005/10.1, allocations: 12.81 MB / 3.563 GB, free: 76.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/10.11, allocations: 2.159 MB / 3.565 GB, free: 76.3 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009627/10.11, allocations: 0.9225 MB / 3.566 GB, free: 76.29 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007572/10.12, allocations: 5.175 MB / 3.571 GB, free: 74.26 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/10.12, allocations: 1.108 MB / 3.572 GB, free: 73.87 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001872/10.12, allocations: 168.7 kB / 3.573 GB, free: 73.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 5.54e-06/10.12, allocations: 0 / 3.573 GB, free: 73.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.007463/10.13, allocations: 2.763 MB / 3.575 GB, free: 72.83 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/10.13, allocations: 118.4 kB / 3.575 GB, free: 72.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008135/10.13, allocations: 4.74 MB / 3.58 GB, free: 70.76 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006334/10.13, allocations: 29.23 kB / 3.58 GB, free: 70.73 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/10.14, allocations: 2.143 MB / 3.582 GB, free: 69.04 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005703/10.14, allocations: 307.2 kB / 3.582 GB, free: 68.81 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/10.14, allocations: 0 / 3.582 GB, free: 68.81 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001112/10.14, allocations: 391.1 kB / 3.583 GB, free: 68.47 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/10.14, allocations: 1.041 MB / 3.584 GB, free: 68.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/10.14, allocations: 2.086 MB / 3.586 GB, free: 66.28 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/10.14, allocations: 1.476 MB / 3.587 GB, free: 65.79 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/10.14, allocations: 7.75 kB / 3.587 GB, free: 65.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007789/10.15, allocations: 3.593 MB / 3.591 GB, free: 64.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002639/10.15, allocations: 13.58 MB / 3.604 GB, free: 49.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.015e-05/10.15, allocations: 33.3 kB / 3.604 GB, free: 49.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007804/10.16, allocations: 339 kB / 3.604 GB, free: 49.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/10.16, allocations: 0.5393 MB / 3.605 GB, free: 49.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/10.16, allocations: 6.016 MB / 3.611 GB, free: 44.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/10.17, allocations: 145.6 kB / 3.611 GB, free: 44.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006076/10.17, allocations: 218.1 kB / 3.611 GB, free: 44.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/10.17, allocations: 3.281 kB / 3.611 GB, free: 44.39 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005708/10.17, allocations: 2.689 MB / 3.614 GB, free: 43.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-05/10.17, allocations: 27.59 kB / 3.614 GB, free: 43.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/10.17, allocations: 340 kB / 3.614 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/10.18, allocations: 0.5844 MB / 3.615 GB, free: 43.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/10.18, allocations: 2.569 MB / 3.617 GB, free: 41.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/10.18, allocations: 150.1 kB / 3.617 GB, free: 40.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/10.18, allocations: 204.9 kB / 3.618 GB, free: 40.98 MB / 0.7605 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.001829/10.18, allocations: 197 kB / 3.618 GB, free: 56.81 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007199/10.19, allocations: 2.068 MB / 3.62 GB, free: 56.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/10.19, allocations: 417.2 kB / 3.62 GB, free: 55.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007001/10.2, allocations: 2.579 MB / 3.623 GB, free: 54.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/10.2, allocations: 14.81 kB / 3.623 GB, free: 54.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/10.2, allocations: 0 / 3.623 GB, free: 54.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/10.2, allocations: 7.641 kB / 3.623 GB, free: 54.96 MB / 0.7761 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 postOpt removeSimpleEquations (simulation): time 0.01231/10.21, allocations: 5.723 MB / 3.628 GB, free: 52.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/10.21, allocations: 0 / 3.628 GB, free: 52.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/10.21, allocations: 215.6 kB / 3.628 GB, free: 52.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007055/10.21, allocations: 361.1 kB / 3.629 GB, free: 52.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/10.21, allocations: 31.25 kB / 3.629 GB, free: 52.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/10.22, allocations: 4.984 MB / 3.634 GB, free: 47.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/10.22, allocations: 7 kB / 3.634 GB, free: 47.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/10.22, allocations: 2.425 MB / 3.636 GB, free: 45.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/10.23, allocations: 0.9226 MB / 3.637 GB, free: 44.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008436/10.23, allocations: 12 kB / 3.637 GB, free: 44.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/10.23, allocations: 140.8 kB / 3.637 GB, free: 44.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/10.23, allocations: 87.58 kB / 3.637 GB, free: 44.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/10.23, allocations: 78.81 kB / 3.637 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005987/10.23, allocations: 3.53 MB / 3.641 GB, free: 40.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.31e-07/10.23, allocations: 4 kB / 3.641 GB, free: 40.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008745/10.24, allocations: 1.931 MB / 3.643 GB, free: 39.04 MB / 0.7761 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) * 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.009225/10.25, allocations: 5.322 MB / 3.648 GB, free: 34.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007207/10.26, allocations: 3.979 MB / 3.652 GB, free: 30.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/10.26, allocations: 8.125 kB / 3.652 GB, free: 30.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/10.26, allocations: 0.8165 MB / 3.653 GB, free: 30.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009096/10.27, allocations: 1.948 MB / 3.654 GB, free: 28.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/10.29, allocations: 6.578 MB / 3.661 GB, free: 22.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00234/10.29, allocations: 2.709 MB / 3.663 GB, free: 20.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.009265/10.3, allocations: 2.16 MB / 3.666 GB, free: 18.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/10.3, allocations: 1.799 MB / 3.667 GB, free: 16.93 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/10.3, allocations: 0 / 3.667 GB, free: 16.93 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8138/11.11, allocations: 135.4 MB / 3.8 GB, free: 89.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/11.11, allocations: 174.5 kB / 3.8 GB, free: 89.51 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/18.19, allocations: 0 / 3.8 GB, free: 89.51 MB / 0.7761 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_MoverStages.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe 2>&1)