Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.0008073/0.0008073, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00522/0.00522, allocations: 174.9 kB / 16.27 MB, free: 6.613 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8197/0.8197, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 11.98 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 82.31 MB / 0.5881 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.4298/0.5588, allocations: 234.5 MB / 0.8171 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009112/0.568, allocations: 7.202 MB / 0.8241 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005938/0.5686, allocations: 47.62 kB / 0.8242 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.5695, allocations: 421.6 kB / 0.8246 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.5717, allocations: 1.235 MB / 0.8258 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.5746, allocations: 1.566 MB / 0.8273 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002122/0.5768, allocations: 2.774 MB / 0.83 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000726/0.5775, allocations: 0.6837 MB / 0.8307 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.5794, allocations: 1.3 MB / 0.832 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/0.5801, allocations: 0.6808 MB / 0.8326 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.5802, allocations: 44 kB / 0.8327 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.5828, allocations: 2.081 MB / 0.8347 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.5831, allocations: 271.1 kB / 0.835 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.5834, allocations: 479.3 kB / 0.8354 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.5852, allocations: 1.842 MB / 0.8372 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5852, allocations: 0 / 0.8372 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5852, allocations: 0 / 0.8372 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5852, allocations: 0 / 0.8372 GB, free: 12.93 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00171/0.5869, allocations: 1.143 MB / 0.8383 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5869, allocations: 8.031 kB / 0.8383 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.509e-05/0.587, allocations: 90.52 kB / 0.8384 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.5886, allocations: 290.5 kB / 0.8387 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.5894, allocations: 0.6671 MB / 0.8394 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.5894, allocations: 41 kB / 0.8394 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.979e-05/0.5895, allocations: 56 kB / 0.8395 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.5905, allocations: 0.6154 MB / 0.8401 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5905, allocations: 0 / 0.8401 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.5906, allocations: 24 kB / 0.8401 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.5906, allocations: 8 kB / 0.8401 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.5916, allocations: 0.6364 MB / 0.8407 GB, free: 9.25 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.002905/0.5945, allocations: 2.633 MB / 0.8433 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.5954, allocations: 492.6 kB / 0.8438 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.5959, allocations: 317.4 kB / 0.8441 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005861/0.5965, allocations: 424.7 kB / 0.8445 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5965, allocations: 41.94 kB / 0.8445 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005608/0.5971, allocations: 183.5 kB / 0.8447 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 1.653e-06/0.5971, allocations: 0 / 0.8447 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002352/0.5994, allocations: 1.13 MB / 0.8458 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.5995, allocations: 59.34 kB / 0.8458 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006408/0.6001, allocations: 0.653 MB / 0.8465 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.6002, allocations: 33.7 kB / 0.8465 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.6004, allocations: 345.1 kB / 0.8468 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6005, allocations: 157.7 kB / 0.847 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.6006, allocations: 37.7 kB / 0.847 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.6007, allocations: 326 kB / 0.8473 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.6011, allocations: 232.7 kB / 0.8476 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.6016, allocations: 324.4 kB / 0.8479 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/0.6024, allocations: 0.5286 MB / 0.8484 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6024, allocations: 4 kB / 0.8484 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001312/0.6038, allocations: 0.7287 MB / 0.8491 GB, free: 232 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.6038, allocations: 120.4 kB / 0.8492 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6038, allocations: 0 / 0.8492 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.6042, allocations: 96.78 kB / 0.8493 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.6047, allocations: 95.86 kB / 0.8494 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004021/0.6051, allocations: 0.6226 MB / 0.85 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.6056, allocations: 59.94 kB / 0.8501 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.6057, allocations: 27.97 kB / 0.8501 GB, free: 15.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/0.6057, allocations: 7.938 kB / 0.8501 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/0.6068, allocations: 0.5966 MB / 0.8507 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.6068, allocations: 0 / 0.8507 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.6069, allocations: 60.81 kB / 0.8507 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.6074, allocations: 91.91 kB / 0.8508 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.6087, allocations: 1.709 MB / 0.8525 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.6092, allocations: 56 kB / 0.8525 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.6092, allocations: 23.98 kB / 0.8526 GB, free: 12.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.6095, allocations: 297 kB / 0.8528 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.6096, allocations: 79.06 kB / 0.8529 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.611, allocations: 0.7739 MB / 0.8537 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.611, allocations: 8 kB / 0.8537 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.611, allocations: 0 / 0.8537 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.611, allocations: 3.984 kB / 0.8537 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.6133, allocations: 1.677 MB / 0.8553 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6133, allocations: 4 kB / 0.8553 GB, free: 9.531 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.6137, allocations: 87.83 kB / 0.8554 GB, free: 9.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.6139, allocations: 73.14 kB / 0.8555 GB, free: 9.371 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.6139, allocations: 16.09 kB / 0.8555 GB, free: 9.355 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003241/0.6143, allocations: 0.6225 MB / 0.8561 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6143, allocations: 4 kB / 0.8561 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.6159, allocations: 1.196 MB / 0.8573 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.6161, allocations: 204.1 kB / 0.8575 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.6162, allocations: 20 kB / 0.8575 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.6168, allocations: 79.72 kB / 0.8576 GB, free: 7.129 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.6169, allocations: 35.89 kB / 0.8576 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.6169, allocations: 19.98 kB / 0.8576 GB, free: 7.074 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004694/0.6174, allocations: 467 kB / 0.8581 GB, free: 6.625 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.222e-06/0.6174, allocations: 4 kB / 0.8581 GB, free: 6.621 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008395/0.6182, allocations: 383.3 kB / 0.8584 GB, free: 6.246 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002023/0.6203, allocations: 1.82 MB / 0.8602 GB, free: 4.371 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.6219, allocations: 1 MB / 0.8612 GB, free: 3.359 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6219, allocations: 0 / 0.8612 GB, free: 3.359 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.6224, allocations: 317.5 kB / 0.8615 GB, free: 3.051 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.6248, allocations: 468.8 kB / 0.8619 GB, free: 2.602 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2108/0.8356, allocations: 7.027 MB / 0.8688 GB, free: 218.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.8359, allocations: 0.9623 MB / 0.8697 GB, free: 217.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007859/0.8367, allocations: 221.5 kB / 0.87 GB, free: 217.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.837, allocations: 283.7 kB / 0.8702 GB, free: 217.6 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.837, allocations: 0 / 0.8702 GB, free: 217.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.533/3.37, allocations: 22.54 MB / 0.8922 GB, free: 216.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/3.37, allocations: 288.1 kB / 0.8925 GB, free: 216.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/7.469, allocations: 4 kB / 0.8925 GB, free: 216.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)