Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.006375/0.006375, allocations: 100.7 kB / 15.87 MB, free: 6.312 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.001227/0.001227, allocations: 194 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7315/0.7315, allocations: 115.3 MB / 405.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 60.14 kB / 493 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3285, allocations: 76.18 MB / 0.5558 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01863/0.3472, allocations: 14.71 MB / 0.5702 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.3525, allocations: 3.727 MB / 0.5738 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.3531, allocations: 15.75 kB / 0.5738 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.3538, allocations: 130.3 kB / 0.574 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3551, allocations: 370.5 kB / 0.5743 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3562, allocations: 297.8 kB / 0.5746 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.3579, allocations: 1.095 MB / 0.5757 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.3584, allocations: 254.9 kB / 0.5759 GB, free: 21.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007787/0.3592, allocations: 349 kB / 0.5762 GB, free: 21.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.3595, allocations: 232.2 kB / 0.5765 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.3596, allocations: 12.59 kB / 0.5765 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.3602, allocations: 210.2 kB / 0.5767 GB, free: 21.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3603, allocations: 67.83 kB / 0.5767 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.3605, allocations: 140.1 kB / 0.5769 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.3611, allocations: 411 kB / 0.5773 GB, free: 20.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3611, allocations: 3.938 kB / 0.5773 GB, free: 20.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3611, allocations: 0 / 0.5773 GB, free: 20.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3611, allocations: 1.875 kB / 0.5773 GB, free: 20.91 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000787/0.3619, allocations: 0.6015 MB / 0.5779 GB, free: 20.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.362, allocations: 18.44 kB / 0.5779 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.362, allocations: 55.16 kB / 0.5779 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.3621, allocations: 43.84 kB / 0.578 GB, free: 20.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3624, allocations: 311.6 kB / 0.5783 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3625, allocations: 13.5 kB / 0.5783 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.3625, allocations: 26.7 kB / 0.5783 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.363, allocations: 254.4 kB / 0.5786 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.363, allocations: 0.7812 kB / 0.5786 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.3631, allocations: 10.19 kB / 0.5786 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3631, allocations: 10.91 kB / 0.5786 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.3635, allocations: 181.5 kB / 0.5787 GB, free: 19.88 MB / 446.1 MB 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.001034/0.3646, allocations: 0.8286 MB / 0.5796 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.3649, allocations: 151.6 kB / 0.5797 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.3651, allocations: 92.44 kB / 0.5798 GB, free: 19.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.3653, allocations: 497.9 kB / 0.5803 GB, free: 18.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3654, allocations: 40.97 kB / 0.5803 GB, free: 18.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3654, allocations: 3.344 kB / 0.5803 GB, free: 18.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007159/0.3661, allocations: 254.2 kB / 0.5805 GB, free: 18.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3661, allocations: 83.8 kB / 0.5806 GB, free: 18.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3664, allocations: 268 kB / 0.5809 GB, free: 18.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3664, allocations: 28.36 kB / 0.5809 GB, free: 18.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.3665, allocations: 166.7 kB / 0.5811 GB, free: 18.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3665, allocations: 40.38 kB / 0.5811 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.3666, allocations: 38.61 kB / 0.5811 GB, free: 17.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.3666, allocations: 336.8 kB / 0.5815 GB, free: 17.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3668, allocations: 59.67 kB / 0.5815 GB, free: 17.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.3671, allocations: 117.7 kB / 0.5816 GB, free: 17.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.3674, allocations: 171.1 kB / 0.5818 GB, free: 17.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3675, allocations: 0 / 0.5818 GB, free: 17.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004772/0.3679, allocations: 213 kB / 0.582 GB, free: 17.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.368, allocations: 6.703 kB / 0.582 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.368, allocations: 1.312 kB / 0.582 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.368, allocations: 6.531 kB / 0.582 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.3683, allocations: 53.36 kB / 0.5821 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3683, allocations: 6.125 kB / 0.5821 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3685, allocations: 34.16 kB / 0.5821 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.3686, allocations: 15.69 kB / 0.5821 GB, free: 17.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.3687, allocations: 141.9 kB / 0.5823 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.3687, allocations: 24 kB / 0.5823 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.369, allocations: 178.9 kB / 0.5824 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3691, allocations: 3.234 kB / 0.5825 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3691, allocations: 5.438 kB / 0.5825 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.3691, allocations: 5.156 kB / 0.5825 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.3698, allocations: 0.6006 MB / 0.583 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3698, allocations: 1.312 kB / 0.5831 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.3701, allocations: 51.91 kB / 0.5831 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3701, allocations: 3.031 kB / 0.5831 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3701, allocations: 14.61 kB / 0.5831 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3701, allocations: 2.766 kB / 0.5831 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3701, allocations: 2.062 kB / 0.5831 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.3707, allocations: 438.7 kB / 0.5835 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.3708, allocations: 125.2 kB / 0.5837 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.3709, allocations: 7.5 kB / 0.5837 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.3711, allocations: 18.23 kB / 0.5837 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.3712, allocations: 24.16 kB / 0.5837 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3712, allocations: 7.75 kB / 0.5837 GB, free: 16.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3714, allocations: 193.1 kB / 0.5839 GB, free: 16.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3714, allocations: 0 / 0.5839 GB, free: 16.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.3718, allocations: 91.58 kB / 0.584 GB, free: 16.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.3729, allocations: 1.068 MB / 0.585 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.3734, allocations: 177.5 kB / 0.5852 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3734, allocations: 0 / 0.5852 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.3737, allocations: 109.6 kB / 0.5853 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008707/0.3746, allocations: 109.4 kB / 0.5854 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.3777, allocations: 2.725 MB / 0.5881 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.3779, allocations: 0.7752 MB / 0.5888 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.3781, allocations: 56.39 kB / 0.5889 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3782, allocations: 85.5 kB / 0.589 GB, free: 12.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3782, allocations: 0 / 0.589 GB, free: 12.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.3962, allocations: 7.661 MB / 0.5964 GB, free: 9.422 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.3965, allocations: 255.1 kB / 0.5967 GB, free: 9.168 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.328, allocations: 3.938 kB / 0.5967 GB, free: 9.164 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)