Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.01039/0.01039, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.002267/0.002267, allocations: 196 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.165/2.165, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.239/1.239, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002582, allocations: 63.86 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2813, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 1.236/1.518, allocations: 239.8 MB / 0.8934 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01994/1.538, allocations: 7.153 MB / 0.9004 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004572/1.542, allocations: 52 kB / 0.9004 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003654/1.546, allocations: 0.5065 MB / 0.9009 GB, free: 416 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007771/1.554, allocations: 1.315 MB / 0.9022 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009655/1.563, allocations: 1.609 MB / 0.9038 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006187/1.57, allocations: 1.945 MB / 0.9057 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/1.572, allocations: 0.797 MB / 0.9065 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006573/1.579, allocations: 1.41 MB / 0.9078 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/1.581, allocations: 0.6719 MB / 0.9085 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004553/1.582, allocations: 74.62 kB / 0.9086 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006029/1.588, allocations: 1.473 MB / 0.91 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008741/1.589, allocations: 295.4 kB / 0.9103 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/1.591, allocations: 481.1 kB / 0.9108 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006121/1.597, allocations: 1.644 MB / 0.9124 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.597, allocations: 3.938 kB / 0.9124 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/1.597, allocations: 0 / 0.9124 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.436e-05/1.597, allocations: 0 / 0.9124 GB, free: 13.18 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.004944/1.602, allocations: 1.292 MB / 0.9136 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/1.602, allocations: 11.09 kB / 0.9136 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/1.602, allocations: 90.33 kB / 0.9137 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/1.606, allocations: 290.2 kB / 0.914 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/1.608, allocations: 0.697 MB / 0.9147 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/1.608, allocations: 40.78 kB / 0.9147 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/1.609, allocations: 57.03 kB / 0.9148 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/1.611, allocations: 0.5999 MB / 0.9154 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.611, allocations: 0 / 0.9154 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/1.611, allocations: 19.44 kB / 0.9154 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.611, allocations: 13.31 kB / 0.9154 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/1.613, allocations: 0.5966 MB / 0.916 GB, free: 10.74 MB / 0.6544 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.007551/1.621, allocations: 2.89 MB / 0.9188 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.622, allocations: 390.1 kB / 0.9192 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/1.623, allocations: 275.8 kB / 0.9194 GB, free: 8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009519/1.624, allocations: 403.5 kB / 0.9198 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/1.624, allocations: 37.44 kB / 0.9198 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009852/1.625, allocations: 110.5 kB / 0.92 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.094e-05/1.625, allocations: 0 / 0.92 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.003147/1.628, allocations: 0.8252 MB / 0.9208 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/1.628, allocations: 59.22 kB / 0.9208 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/1.63, allocations: 0.7011 MB / 0.9215 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-05/1.63, allocations: 33.7 kB / 0.9215 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/1.63, allocations: 360.7 kB / 0.9219 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.631, allocations: 146.7 kB / 0.922 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/1.631, allocations: 92.05 kB / 0.9221 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002236/1.631, allocations: 325.8 kB / 0.9224 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/1.632, allocations: 208.1 kB / 0.9226 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/1.633, allocations: 304.4 kB / 0.9229 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/1.634, allocations: 0.4998 MB / 0.9234 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.634, allocations: 0 / 0.9234 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002212/1.637, allocations: 0.6125 MB / 0.924 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.637, allocations: 7.25 kB / 0.924 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.637, allocations: 0 / 0.924 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/1.637, allocations: 5.062 kB / 0.924 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/1.638, allocations: 102.5 kB / 0.9241 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/1.638, allocations: 6.141 kB / 0.9241 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/1.639, allocations: 31.56 kB / 0.9241 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.639, allocations: 26.34 kB / 0.9242 GB, free: 4.801 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (46): * Single equations (assignments): 46 * 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.0006946/1.64, allocations: 220.1 kB / 0.9244 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/1.64, allocations: 81.33 kB / 0.9244 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/1.642, allocations: 0.6557 MB / 0.9251 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.642, allocations: 5.406 kB / 0.9251 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.642, allocations: 3.688 kB / 0.9251 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/1.642, allocations: 3.984 kB / 0.9251 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/1.647, allocations: 1.532 MB / 0.9266 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.647, allocations: 0 / 0.9266 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/1.648, allocations: 85.11 kB / 0.9267 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/1.648, allocations: 11.94 kB / 0.9267 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/1.648, allocations: 11.98 kB / 0.9267 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-05/1.648, allocations: 10.44 kB / 0.9267 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.648, allocations: 4 kB / 0.9267 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/1.651, allocations: 1.053 MB / 0.9277 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/1.652, allocations: 204.6 kB / 0.9279 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/1.652, allocations: 8 kB / 0.9279 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.654, allocations: 31.97 kB / 0.928 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/1.654, allocations: 38.42 kB / 0.928 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/1.654, allocations: 20 kB / 0.928 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001513/1.655, allocations: 0.4912 MB / 0.9285 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/1.655, allocations: 0 / 0.9285 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001488/1.657, allocations: 191.8 kB / 0.9287 GB, free: 0.8555 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.003993/1.661, allocations: 1.701 MB / 0.9304 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001842/1.663, allocations: 0.5186 MB / 0.9309 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.663, allocations: 0 / 0.9309 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/1.664, allocations: 275.6 kB / 0.9311 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.667, allocations: 471.8 kB / 0.9316 GB, free: 13.92 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02378/1.691, allocations: 6.445 MB / 0.9379 GB, free: 7.273 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.693, allocations: 0.9613 MB / 0.9388 GB, free: 6.285 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001656/1.695, allocations: 170.4 kB / 0.939 GB, free: 6.113 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009774/1.696, allocations: 287.3 kB / 0.9392 GB, free: 5.832 MB / 0.67 GB Notification: Performance of SimCode: time 9.117e-06/1.696, allocations: 4 kB / 0.9392 GB, free: 5.828 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09976/1.795, allocations: 23.01 MB / 0.9617 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.96, allocations: 9.219 kB / 0.9617 GB, free: 15.32 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)