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.6957/0.6957, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009869/0.0009869, allocations: 181 kB / 187.3 MB, free: 11.89 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.212/1.212, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.00084/0.00084, allocations: 94.03 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 264.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.245e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3279, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6436/0.9715, allocations: 404.4 MB / 1.159 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.9718, allocations: 89.08 kB / 1.159 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.577/8.549, allocations: 2.373 GB / 3.533 GB, free: 83.66 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.763e-06/8.549, allocations: 6.812 kB / 3.533 GB, free: 83.66 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004842/8.55, allocations: 108.3 kB / 3.533 GB, free: 83.65 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.007604/8.557, allocations: 4.036 MB / 3.537 GB, free: 81.54 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/8.557, allocations: 12.91 kB / 3.537 GB, free: 81.54 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003773/8.558, allocations: 286.8 kB / 3.537 GB, free: 81.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/8.563, allocations: 1.182 MB / 3.538 GB, free: 81.21 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05634/8.62, allocations: 31.59 MB / 3.569 GB, free: 78.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/8.62, allocations: 187.4 kB / 3.569 GB, free: 78.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/8.62, allocations: 241.1 kB / 3.569 GB, free: 78.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/8.624, allocations: 2.784 MB / 3.572 GB, free: 76.85 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/8.624, allocations: 3.938 kB / 3.572 GB, free: 76.85 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/8.625, allocations: 91.25 kB / 3.572 GB, free: 76.79 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/8.625, allocations: 52.86 kB / 3.572 GB, free: 76.79 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/8.627, allocations: 1.926 MB / 3.574 GB, free: 76.06 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.01585/8.643, allocations: 13.27 MB / 3.587 GB, free: 66.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/8.645, allocations: 1.44 MB / 3.588 GB, free: 66 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/8.646, allocations: 0.6408 MB / 3.589 GB, free: 65.69 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006325/8.652, allocations: 5.289 MB / 3.594 GB, free: 61.26 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/8.653, allocations: 1.136 MB / 3.595 GB, free: 60.61 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001401/8.655, allocations: 227.3 kB / 3.596 GB, free: 60.46 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 3.416e-06/8.655, allocations: 0 / 3.596 GB, free: 60.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.004135/8.659, allocations: 2.006 MB / 3.597 GB, free: 59.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/8.659, allocations: 116.5 kB / 3.598 GB, free: 59.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006772/8.666, allocations: 5.22 MB / 3.603 GB, free: 55.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004638/8.666, allocations: 65.7 kB / 3.603 GB, free: 55.59 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/8.668, allocations: 2.137 MB / 3.605 GB, free: 53.43 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/8.668, allocations: 319.5 kB / 3.605 GB, free: 53.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/8.668, allocations: 36 kB / 3.605 GB, free: 53.08 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/8.668, allocations: 386 kB / 3.606 GB, free: 52.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009611/8.669, allocations: 0.7733 MB / 3.606 GB, free: 51.92 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/8.671, allocations: 1.834 MB / 3.608 GB, free: 49.58 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/8.672, allocations: 1.006 MB / 3.609 GB, free: 48.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/8.672, allocations: 8 kB / 3.609 GB, free: 48.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004268/8.676, allocations: 3.005 MB / 3.612 GB, free: 45.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001995/8.678, allocations: 13.76 MB / 3.625 GB, free: 30.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/8.678, allocations: 31.98 kB / 3.625 GB, free: 30.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009265/8.679, allocations: 362.5 kB / 3.626 GB, free: 30.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/8.682, allocations: 0.5421 MB / 3.626 GB, free: 29.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/8.685, allocations: 5.21 MB / 3.631 GB, free: 24.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/8.688, allocations: 187.8 kB / 3.632 GB, free: 24.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/8.688, allocations: 219.9 kB / 3.632 GB, free: 23.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/8.688, allocations: 9.25 kB / 3.632 GB, free: 23.88 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003427/8.692, allocations: 2.731 MB / 3.635 GB, free: 21.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/8.692, allocations: 32 kB / 3.635 GB, free: 21.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/8.692, allocations: 357 kB / 3.635 GB, free: 20.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/8.694, allocations: 0.5929 MB / 3.635 GB, free: 20.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/8.695, allocations: 2.517 MB / 3.638 GB, free: 17.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/8.698, allocations: 183.9 kB / 3.638 GB, free: 17.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/8.698, allocations: 210.8 kB / 3.638 GB, free: 17.18 MB / 0.7605 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 () * 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.0004566/8.699, allocations: 236.2 kB / 3.639 GB, free: 16.94 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005372/8.699, allocations: 438.3 kB / 3.639 GB, free: 16.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/8.704, allocations: 2.592 MB / 3.641 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/8.704, allocations: 15.98 kB / 3.641 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/8.704, allocations: 6.906 kB / 3.641 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/8.704, allocations: 7.984 kB / 3.641 GB, free: 13.91 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 postOpt removeSimpleEquations (simulation): time 0.008825/8.713, allocations: 5.94 MB / 3.647 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/8.713, allocations: 3.984 kB / 3.647 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/8.714, allocations: 211.8 kB / 3.647 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/8.715, allocations: 382.3 kB / 3.648 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/8.715, allocations: 43.95 kB / 3.648 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/8.717, allocations: 4.912 MB / 3.653 GB, free: 18.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/8.717, allocations: 11.95 kB / 3.653 GB, free: 18.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/8.721, allocations: 2.426 MB / 3.655 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/8.723, allocations: 0.9402 MB / 3.656 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/8.723, allocations: 31.64 kB / 3.656 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/8.725, allocations: 163.7 kB / 3.656 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/8.725, allocations: 92.83 kB / 3.656 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/8.726, allocations: 75.94 kB / 3.656 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005496/8.731, allocations: 3.958 MB / 3.66 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.2e-07/8.731, allocations: 0 / 3.66 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005773/8.737, allocations: 2.001 MB / 3.662 GB, free: 8.379 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.007424/8.744, allocations: 5.38 MB / 3.667 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.4134/9.158, allocations: 3.772 MB / 3.671 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/9.158, allocations: 0.7812 kB / 3.671 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/9.16, allocations: 0.8512 MB / 3.672 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00979/9.17, allocations: 2.157 MB / 3.674 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/9.181, allocations: 6.761 MB / 3.681 GB, free: 101.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/9.183, allocations: 2.701 MB / 3.683 GB, free: 100.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.008116/9.191, allocations: 2.242 MB / 3.685 GB, free: 100.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/9.193, allocations: 1.809 MB / 3.687 GB, free: 100.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.423e-06/9.193, allocations: 0 / 3.687 GB, free: 100.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/9.384, allocations: 161.6 MB / 3.845 GB, free: 72.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/9.384, allocations: 230.2 kB / 3.845 GB, free: 72.54 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.619/16, allocations: 64 / 3.845 GB, free: 72.54 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)