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.001264/0.001264, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7295/0.7295, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 61.25 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 80.19 MB / 0.5802 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.4204/0.5472, allocations: 239.9 MB / 0.8144 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.5576, allocations: 7.145 MB / 0.8214 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.559, allocations: 51.69 kB / 0.8214 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.5604, allocations: 0.5084 MB / 0.8219 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003034/0.5635, allocations: 1.314 MB / 0.8232 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.567, allocations: 1.59 MB / 0.8248 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.5692, allocations: 1.949 MB / 0.8267 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.5703, allocations: 0.7895 MB / 0.8274 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.573, allocations: 1.413 MB / 0.8288 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009515/0.5739, allocations: 0.6692 MB / 0.8295 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.5741, allocations: 72 kB / 0.8295 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.5766, allocations: 1.473 MB / 0.831 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.5769, allocations: 295.1 kB / 0.8313 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005826/0.5775, allocations: 485.7 kB / 0.8317 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.5798, allocations: 1.609 MB / 0.8333 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5798, allocations: 0 / 0.8333 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5798, allocations: 0 / 0.8333 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.5798, allocations: 4 kB / 0.8333 GB, free: 15.37 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.002229/0.5821, allocations: 1.274 MB / 0.8346 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.5821, allocations: 8.031 kB / 0.8346 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.5822, allocations: 94.52 kB / 0.8346 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.584, allocations: 274.6 kB / 0.8349 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.585, allocations: 0.6555 MB / 0.8356 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.585, allocations: 41 kB / 0.8356 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.5851, allocations: 52 kB / 0.8356 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.5862, allocations: 0.5959 MB / 0.8362 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5862, allocations: 6.688 kB / 0.8362 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.5863, allocations: 16 kB / 0.8362 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.5863, allocations: 12 kB / 0.8363 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5874, allocations: 0.6089 MB / 0.8368 GB, free: 11.64 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.003538/0.5909, allocations: 2.88 MB / 0.8397 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.5916, allocations: 399.2 kB / 0.84 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.5921, allocations: 277.3 kB / 0.8403 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006349/0.5927, allocations: 404.6 kB / 0.8407 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5927, allocations: 34.89 kB / 0.8407 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005234/0.5933, allocations: 107.5 kB / 0.8408 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.5933, allocations: 4 kB / 0.8408 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001705/0.595, allocations: 0.8216 MB / 0.8416 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.595, allocations: 55.41 kB / 0.8417 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/0.5958, allocations: 0.7001 MB / 0.8424 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.5959, allocations: 33.7 kB / 0.8424 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.5961, allocations: 356.4 kB / 0.8427 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5962, allocations: 141.9 kB / 0.8429 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.5964, allocations: 90.03 kB / 0.843 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.5965, allocations: 322 kB / 0.8433 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.5969, allocations: 208.6 kB / 0.8435 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.5974, allocations: 305.9 kB / 0.8438 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.5983, allocations: 0.4965 MB / 0.8442 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5983, allocations: 0 / 0.8442 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001091/0.5994, allocations: 0.6133 MB / 0.8448 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5994, allocations: 4 kB / 0.8449 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5994, allocations: 8.156 kB / 0.8449 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5994, allocations: 7.875 kB / 0.8449 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.6, allocations: 103.8 kB / 0.845 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6, allocations: 4 kB / 0.845 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.6005, allocations: 31.97 kB / 0.845 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.6005, allocations: 23.97 kB / 0.845 GB, free: 2.816 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.0002496/0.6008, allocations: 219.3 kB / 0.8452 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6009, allocations: 79 kB / 0.8453 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.6022, allocations: 0.6557 MB / 0.8459 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.6022, allocations: 7.938 kB / 0.846 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6022, allocations: 0 / 0.846 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.6022, allocations: 3.984 kB / 0.846 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.6044, allocations: 1.519 MB / 0.8474 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6045, allocations: 4 kB / 0.8474 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.6049, allocations: 88.23 kB / 0.8475 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.6049, allocations: 15.56 kB / 0.8475 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.605, allocations: 11.98 kB / 0.8476 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.605, allocations: 4 kB / 0.8476 GB, free: 112 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.605, allocations: 11.88 kB / 0.8476 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.6066, allocations: 1.048 MB / 0.8486 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.6068, allocations: 196.1 kB / 0.8488 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.6069, allocations: 12 kB / 0.8488 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.6074, allocations: 31.97 kB / 0.8488 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.6075, allocations: 35.89 kB / 0.8489 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.6075, allocations: 16 kB / 0.8489 GB, free: 14.69 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005478/0.6081, allocations: 499 kB / 0.8493 GB, free: 14.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.383e-06/0.6081, allocations: 0 / 0.8493 GB, free: 14.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005647/0.6087, allocations: 199.7 kB / 0.8495 GB, free: 14.02 MB / 0.67 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.002058/0.6107, allocations: 1.702 MB / 0.8512 GB, free: 12.26 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.6118, allocations: 0.5355 MB / 0.8517 GB, free: 11.73 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6118, allocations: 0 / 0.8517 GB, free: 11.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.6123, allocations: 280.7 kB / 0.852 GB, free: 11.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.6143, allocations: 470.5 kB / 0.8524 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.6257, allocations: 6.682 MB / 0.859 GB, free: 4.109 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.6262, allocations: 0.9613 MB / 0.8599 GB, free: 3.121 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006946/0.6269, allocations: 178.4 kB / 0.8601 GB, free: 2.941 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.6274, allocations: 287.3 kB / 0.8603 GB, free: 2.66 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.6274, allocations: 0 / 0.8603 GB, free: 2.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.246/0.8733, allocations: 22.81 MB / 0.8826 GB, free: 227.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.336, allocations: 5.953 kB / 0.8826 GB, free: 227.5 MB / 0.67 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)