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.9306/0.9306, allocations: 143.4 MB / 158.3 MB, free: 5.754 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.001741/0.001741, allocations: 173.1 kB / 191.5 MB, free: 5.742 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.822/1.822, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.001131/0.001131, allocations: 80.36 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002332/0.002331, allocations: 270 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005269/0.0005271, allocations: 13.53 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.538/1.762, allocations: 404.5 MB / 1.169 GB, free: 193 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/1.762, allocations: 101 kB / 1.169 GB, free: 193 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.222/10.98, allocations: 2.379 GB / 3.548 GB, free: 73.08 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.915e-06/10.98, allocations: 0 / 3.548 GB, free: 73.08 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001089/10.98, allocations: 107.8 kB / 3.548 GB, free: 73.06 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.02841/11.01, allocations: 7.83 MB / 3.556 GB, free: 70.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 8.328e-05/11.01, allocations: 8 kB / 3.556 GB, free: 70.46 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002333/11.02, allocations: 297.9 kB / 3.556 GB, free: 70.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009227/11.03, allocations: 1.184 MB / 3.558 GB, free: 70.13 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07618/11.1, allocations: 31.77 MB / 3.589 GB, free: 67.65 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/11.1, allocations: 186.9 kB / 3.589 GB, free: 67.64 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001635/11.1, allocations: 235.9 kB / 3.589 GB, free: 67.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/11.11, allocations: 2.907 MB / 3.592 GB, free: 67.22 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/11.11, allocations: 3.938 kB / 3.592 GB, free: 67.22 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000877/11.12, allocations: 88.41 kB / 3.592 GB, free: 67.22 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/11.12, allocations: 47.88 kB / 3.592 GB, free: 67.22 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006902/11.12, allocations: 2.124 MB / 3.594 GB, free: 67.17 MB / 0.7605 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.03092/11.15, allocations: 13.27 MB / 3.607 GB, free: 59.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/11.16, allocations: 1.627 MB / 3.609 GB, free: 58.69 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/11.17, allocations: 5.248 MB / 3.614 GB, free: 54.78 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002268/11.17, allocations: 1.221 MB / 3.615 GB, free: 54.07 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002649/11.17, allocations: 239.4 kB / 3.615 GB, free: 53.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 8.576e-06/11.17, allocations: 0 / 3.615 GB, free: 53.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.01156/11.18, allocations: 3.444 MB / 3.618 GB, free: 51.93 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/11.18, allocations: 115.3 kB / 3.619 GB, free: 51.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/11.2, allocations: 5.274 MB / 3.624 GB, free: 49.02 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006871/11.2, allocations: 61.36 kB / 3.624 GB, free: 48.96 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00283/11.2, allocations: 2.144 MB / 3.626 GB, free: 47.07 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007258/11.2, allocations: 320.1 kB / 3.626 GB, free: 46.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/11.2, allocations: 35.81 kB / 3.626 GB, free: 46.77 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001892/11.2, allocations: 385.5 kB / 3.627 GB, free: 46.41 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/11.2, allocations: 0.871 MB / 3.627 GB, free: 45.61 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/11.21, allocations: 1.928 MB / 3.629 GB, free: 43.18 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/11.21, allocations: 1.077 MB / 3.63 GB, free: 42.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/11.21, allocations: 8 kB / 3.63 GB, free: 42.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006731/11.22, allocations: 3.208 MB / 3.634 GB, free: 38.86 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.00366/11.22, allocations: 13.75 MB / 3.647 GB, free: 39.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/11.22, allocations: 28 kB / 3.647 GB, free: 39.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/11.22, allocations: 393.9 kB / 3.647 GB, free: 39.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/11.22, allocations: 0.546 MB / 3.648 GB, free: 39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/11.23, allocations: 5.26 MB / 3.653 GB, free: 33.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/11.23, allocations: 195.8 kB / 3.653 GB, free: 33.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004875/11.23, allocations: 207.9 kB / 3.653 GB, free: 33.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/11.23, allocations: 7.938 kB / 3.653 GB, free: 33.14 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005717/11.24, allocations: 2.902 MB / 3.656 GB, free: 30.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.731e-05/11.24, allocations: 28.62 kB / 3.656 GB, free: 30.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/11.24, allocations: 400 kB / 3.657 GB, free: 29.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/11.24, allocations: 0.5928 MB / 3.657 GB, free: 29.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/11.24, allocations: 2.567 MB / 3.66 GB, free: 26.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/11.25, allocations: 179.9 kB / 3.66 GB, free: 26.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/11.25, allocations: 207.9 kB / 3.66 GB, free: 26.18 MB / 0.7761 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.003728/11.25, allocations: 1.176 MB / 3.661 GB, free: 24.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/11.26, allocations: 430.4 kB / 3.662 GB, free: 24.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008233/11.26, allocations: 2.773 MB / 3.664 GB, free: 21.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/11.26, allocations: 15.98 kB / 3.664 GB, free: 21.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/11.26, allocations: 7.875 kB / 3.664 GB, free: 21.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/11.26, allocations: 3.984 kB / 3.664 GB, free: 21.79 MB / 0.7761 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.01857/11.28, allocations: 6.139 MB / 3.67 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/11.28, allocations: 0 / 3.67 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/11.28, allocations: 219.8 kB / 3.671 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/11.28, allocations: 419 kB / 3.671 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/11.28, allocations: 43.95 kB / 3.671 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/11.29, allocations: 4.955 MB / 3.676 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/11.29, allocations: 4.031 kB / 3.676 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/11.3, allocations: 2.612 MB / 3.678 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/11.3, allocations: 0.9479 MB / 3.679 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/11.3, allocations: 23.98 kB / 3.679 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003752/11.3, allocations: 167.7 kB / 3.68 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/11.3, allocations: 84.83 kB / 3.68 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003052/11.3, allocations: 83.94 kB / 3.68 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0101/11.32, allocations: 4.014 MB / 3.684 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.31e-07/11.32, allocations: 0 / 3.684 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.6449/11.96, allocations: 1.989 MB / 3.686 GB, free: 94.38 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) * 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.01281/11.97, allocations: 5.625 MB / 3.691 GB, free: 92.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01075/11.98, allocations: 3.86 MB / 3.695 GB, free: 92.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/11.98, allocations: 0.5938 kB / 3.695 GB, free: 92.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003496/11.99, allocations: 0.9384 MB / 3.696 GB, free: 92.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/12, allocations: 2.154 MB / 3.698 GB, free: 92.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0352/12.04, allocations: 30.83 MB / 3.728 GB, free: 67.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003721/12.04, allocations: 2.692 MB / 3.731 GB, free: 67.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007292/12.05, allocations: 1.231 MB / 3.732 GB, free: 67.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004433/12.05, allocations: 1.932 MB / 3.734 GB, free: 67.09 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/12.05, allocations: 0 / 3.734 GB, free: 67.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2792/12.33, allocations: 149.6 MB / 3.88 GB, free: 51.27 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/12.33, allocations: 251 kB / 3.88 GB, free: 50.93 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/21.24, allocations: 3.938 kB / 3.88 GB, free: 50.93 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)