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.005255/0.005254, allocations: 99.42 kB / 15.73 MB, free: 6.039 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.001158/0.001158, allocations: 202 kB / 16.68 MB, free: 5.965 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.324/1.324, 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 0.7556/0.7556, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.44 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1635, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.6767/0.8403, allocations: 239.8 MB / 0.8934 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.8504, allocations: 7.152 MB / 0.9004 GB, free: 460 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.8524, allocations: 51.84 kB / 0.9004 GB, free: 460 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.8539, allocations: 0.5241 MB / 0.901 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.8574, allocations: 1.378 MB / 0.9023 GB, free: 32 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.8615, allocations: 1.626 MB / 0.9039 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002754/0.8643, allocations: 1.945 MB / 0.9058 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.8653, allocations: 0.7976 MB / 0.9066 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.8686, allocations: 1.46 MB / 0.908 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/0.8696, allocations: 0.6725 MB / 0.9087 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.8697, allocations: 74.53 kB / 0.9087 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.8725, allocations: 1.477 MB / 0.9102 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.8729, allocations: 295.4 kB / 0.9104 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.8734, allocations: 479.6 kB / 0.9109 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.8762, allocations: 1.65 MB / 0.9125 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8762, allocations: 0 / 0.9125 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8762, allocations: 0 / 0.9125 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.8762, allocations: 0 / 0.9125 GB, free: 12.94 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.002019/0.8782, allocations: 1.297 MB / 0.9138 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.8783, allocations: 11.06 kB / 0.9138 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.8784, allocations: 90.73 kB / 0.9139 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.88, allocations: 289.3 kB / 0.9142 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.881, allocations: 0.7 MB / 0.9148 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.881, allocations: 38.5 kB / 0.9149 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.8811, allocations: 50.56 kB / 0.9149 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/0.8821, allocations: 0.6028 MB / 0.9155 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.8822, allocations: 0 / 0.9155 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.8822, allocations: 17.25 kB / 0.9155 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.8822, allocations: 10.06 kB / 0.9155 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.8833, allocations: 0.6084 MB / 0.9161 GB, free: 10.49 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.003591/0.8869, allocations: 2.884 MB / 0.9189 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.8875, allocations: 388.3 kB / 0.9193 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.888, allocations: 280 kB / 0.9196 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006184/0.8886, allocations: 403.2 kB / 0.92 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.8886, allocations: 37.42 kB / 0.92 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004999/0.8891, allocations: 104.2 kB / 0.9201 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.8891, allocations: 3.938 kB / 0.9201 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001843/0.891, allocations: 0.8262 MB / 0.9209 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.8911, allocations: 55 kB / 0.921 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/0.892, allocations: 0.6958 MB / 0.9216 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.8921, allocations: 35.52 kB / 0.9217 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.8924, allocations: 361.7 kB / 0.922 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.8925, allocations: 146.9 kB / 0.9222 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.8927, allocations: 95.23 kB / 0.9223 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8928, allocations: 327 kB / 0.9226 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.8932, allocations: 206.4 kB / 0.9228 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.8937, allocations: 304.5 kB / 0.9231 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.8945, allocations: 0.4991 MB / 0.9235 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8946, allocations: 0 / 0.9235 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001059/0.8956, allocations: 0.6068 MB / 0.9241 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8956, allocations: 7.781 kB / 0.9241 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8957, allocations: 160 / 0.9241 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.8957, allocations: 9.531 kB / 0.9242 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.8962, allocations: 105.6 kB / 0.9243 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.8962, allocations: 2.812 kB / 0.9243 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.8967, allocations: 36.22 kB / 0.9243 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.8968, allocations: 27.78 kB / 0.9243 GB, free: 4.555 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.0002697/0.8971, allocations: 219.6 kB / 0.9245 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.8972, allocations: 82.48 kB / 0.9246 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.8985, allocations: 0.654 MB / 0.9252 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8985, allocations: 2.656 kB / 0.9252 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8985, allocations: 2.625 kB / 0.9252 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.8985, allocations: 3.984 kB / 0.9253 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.9009, allocations: 1.525 MB / 0.9267 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.9009, allocations: 4 kB / 0.9267 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.9014, allocations: 85.02 kB / 0.9268 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.9014, allocations: 4.406 kB / 0.9268 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.9015, allocations: 19.98 kB / 0.9268 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.9015, allocations: 6.531 kB / 0.9269 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9015, allocations: 5.25 kB / 0.9269 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.9031, allocations: 1.057 MB / 0.9279 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.9034, allocations: 196.6 kB / 0.9281 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.9035, allocations: 16 kB / 0.9281 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/0.904, allocations: 23.97 kB / 0.9281 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.9041, allocations: 42.42 kB / 0.9282 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.9041, allocations: 16 kB / 0.9282 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005893/0.9047, allocations: 0.4912 MB / 0.9287 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9047, allocations: 0 / 0.9287 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006431/0.9054, allocations: 195.8 kB / 0.9288 GB, free: 0.4961 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.002135/0.9075, allocations: 1.709 MB / 0.9305 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.9085, allocations: 0.5158 MB / 0.931 GB, free: 14.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9086, allocations: 0 / 0.931 GB, free: 14.25 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.9091, allocations: 276.5 kB / 0.9313 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.9111, allocations: 464.7 kB / 0.9317 GB, free: 13.56 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.9226, allocations: 6.453 MB / 0.938 GB, free: 6.906 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.9232, allocations: 0.9574 MB / 0.939 GB, free: 5.922 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006917/0.9239, allocations: 174.4 kB / 0.9391 GB, free: 5.746 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.9243, allocations: 287.3 kB / 0.9394 GB, free: 5.465 MB / 0.67 GB Notification: Performance of SimCode: time 1.192e-06/0.9243, allocations: 3.938 kB / 0.9394 GB, free: 5.461 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08415/1.008, allocations: 23 MB / 0.9619 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.004/10.01, allocations: 22.23 kB / 0.9619 GB, free: 14.96 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)