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.007039/0.007039, allocations: 99.45 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.001706/0.001706, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 62.62 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1509, allocations: 80.2 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5601/0.7111, allocations: 239.8 MB / 0.8934 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009985/0.7211, allocations: 7.146 MB / 0.9004 GB, free: 15.13 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.7223, allocations: 55.69 kB / 0.9004 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.7236, allocations: 0.5202 MB / 0.9009 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.7263, allocations: 1.373 MB / 0.9023 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.7297, allocations: 1.623 MB / 0.9039 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.7317, allocations: 1.948 MB / 0.9058 GB, free: 9.605 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000873/0.7325, allocations: 0.8089 MB / 0.9066 GB, free: 8.781 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.735, allocations: 1.452 MB / 0.908 GB, free: 7.324 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006963/0.7357, allocations: 0.6693 MB / 0.9086 GB, free: 6.652 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.7358, allocations: 72 kB / 0.9087 GB, free: 6.582 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.738, allocations: 1.477 MB / 0.9101 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.7383, allocations: 303 kB / 0.9104 GB, free: 4.805 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.7387, allocations: 481.7 kB / 0.9109 GB, free: 4.332 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.7406, allocations: 1.639 MB / 0.9125 GB, free: 2.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7406, allocations: 0 / 0.9125 GB, free: 2.688 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7406, allocations: 0 / 0.9125 GB, free: 2.688 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.7406, allocations: 3.938 kB / 0.9125 GB, free: 2.684 MB / 0.67 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.001966/0.7426, allocations: 1.295 MB / 0.9138 GB, free: 1.336 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.7427, allocations: 8.031 kB / 0.9138 GB, free: 1.328 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.804e-05/0.7428, allocations: 94.52 kB / 0.9139 GB, free: 1.227 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.7444, allocations: 279.2 kB / 0.9141 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.7454, allocations: 0.7107 MB / 0.9148 GB, free: 208 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.7455, allocations: 44.98 kB / 0.9149 GB, free: 160 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.7455, allocations: 55.88 kB / 0.9149 GB, free: 104 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.7466, allocations: 0.5958 MB / 0.9155 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.7466, allocations: 0 / 0.9155 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.7466, allocations: 24 kB / 0.9155 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.7467, allocations: 12 kB / 0.9155 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.7477, allocations: 0.6012 MB / 0.9161 GB, free: 14.87 MB / 0.6856 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.003494/0.7512, allocations: 2.884 MB / 0.9189 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.7518, allocations: 395.8 kB / 0.9193 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.7523, allocations: 277.3 kB / 0.9196 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.7529, allocations: 396.7 kB / 0.92 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.7529, allocations: 42.89 kB / 0.92 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004891/0.7534, allocations: 107.7 kB / 0.9201 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.7535, allocations: 0 / 0.9201 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39): time 0.001671/0.7551, allocations: 0.8256 MB / 0.9209 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.7552, allocations: 55.41 kB / 0.921 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.7559, allocations: 0.7001 MB / 0.9216 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.756, allocations: 33.7 kB / 0.9217 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.7562, allocations: 360.7 kB / 0.922 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.7563, allocations: 146.7 kB / 0.9222 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.7565, allocations: 93.98 kB / 0.9222 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.7566, allocations: 326 kB / 0.9226 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.757, allocations: 208.6 kB / 0.9228 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.7574, allocations: 292.8 kB / 0.923 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008365/0.7583, allocations: 0.5042 MB / 0.9235 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7583, allocations: 0 / 0.9235 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001027/0.7593, allocations: 0.6099 MB / 0.9241 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7594, allocations: 11.98 kB / 0.9241 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7594, allocations: 0 / 0.9241 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.7594, allocations: 16.03 kB / 0.9242 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.7599, allocations: 95.86 kB / 0.9242 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7599, allocations: 6.578 kB / 0.9242 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.7604, allocations: 31.95 kB / 0.9243 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.7605, allocations: 23.98 kB / 0.9243 GB, free: 6.035 MB / 0.6856 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.0002376/0.7607, allocations: 214.6 kB / 0.9245 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.7608, allocations: 91.41 kB / 0.9246 GB, free: 5.727 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.762, allocations: 0.6605 MB / 0.9252 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.762, allocations: 7.938 kB / 0.9252 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.762, allocations: 0 / 0.9252 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.762, allocations: 3.984 kB / 0.9252 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.7642, allocations: 1.516 MB / 0.9267 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7642, allocations: 4 kB / 0.9267 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.7647, allocations: 87.88 kB / 0.9268 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7647, allocations: 4.406 kB / 0.9268 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.7647, allocations: 16 kB / 0.9268 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.7647, allocations: 8 kB / 0.9268 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.7647, allocations: 11.88 kB / 0.9269 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.7662, allocations: 1.052 MB / 0.9279 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.7665, allocations: 200.6 kB / 0.9281 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.7666, allocations: 12 kB / 0.9281 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.767, allocations: 27.97 kB / 0.9281 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.7671, allocations: 47.83 kB / 0.9282 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.7672, allocations: 12 kB / 0.9282 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005241/0.7677, allocations: 0.4911 MB / 0.9286 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7677, allocations: 0 / 0.9286 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005525/0.7683, allocations: 199.8 kB / 0.9288 GB, free: 1.207 MB / 0.6856 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.002014/0.7703, allocations: 1.704 MB / 0.9305 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009154/0.7712, allocations: 0.5149 MB / 0.931 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7712, allocations: 0 / 0.931 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.7717, allocations: 276.7 kB / 0.9313 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.7736, allocations: 464.9 kB / 0.9317 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7839, allocations: 6.44 MB / 0.938 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.7844, allocations: 0.9689 MB / 0.9389 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005595/0.785, allocations: 174.4 kB / 0.9391 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.7854, allocations: 287.3 kB / 0.9394 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/0.7854, allocations: 0 / 0.9394 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.8306, allocations: 23.02 MB / 0.9619 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/9.518, allocations: 8.188 kB / 0.9619 GB, free: 15.48 MB / 0.7325 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)