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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8895/0.8895, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009047/0.0009046, allocations: 87.91 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.363e-05, allocations: 2.438 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1677, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.63/4.797, allocations: 1.891 GB / 2.531 GB, free: 38.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/4.798, allocations: 87.95 kB / 2.531 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.044/7.842, allocations: 0.8009 GB / 3.332 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.694e-06/7.842, allocations: 0 / 3.332 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001399/7.842, allocations: 32.11 kB / 3.332 GB, free: 9.809 MB / 0.6823 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.003587/7.846, allocations: 1.222 MB / 3.333 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/7.846, allocations: 8.031 kB / 3.333 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/7.846, allocations: 90.52 kB / 3.334 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/7.848, allocations: 274.6 kB / 3.334 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/7.85, allocations: 0.7649 MB / 3.335 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/7.85, allocations: 37 kB / 3.335 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/7.85, allocations: 56 kB / 3.335 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/7.851, allocations: 0.5804 MB / 3.335 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/7.851, allocations: 0 / 3.335 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/7.851, allocations: 20 kB / 3.335 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/7.851, allocations: 12 kB / 3.335 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/7.852, allocations: 0.5467 MB / 3.336 GB, free: 6.102 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003738/7.856, allocations: 2.668 MB / 3.338 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000834/7.857, allocations: 499.1 kB / 3.339 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/7.857, allocations: 323.2 kB / 3.339 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/7.858, allocations: 400.7 kB / 3.34 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/7.858, allocations: 38.94 kB / 3.34 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009902/7.859, allocations: 303.4 kB / 3.34 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 4.568e-06/7.859, allocations: 0 / 3.34 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.00142/7.86, allocations: 0.7049 MB / 3.341 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/7.86, allocations: 59.41 kB / 3.341 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/7.861, allocations: 0.5508 MB / 3.341 GB, free: 248 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/7.861, allocations: 37.7 kB / 3.341 GB, free: 204 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/7.861, allocations: 341.2 kB / 3.342 GB, free: 15.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/7.862, allocations: 165.5 kB / 3.342 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/7.862, allocations: 8 kB / 3.342 GB, free: 15.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001531/7.862, allocations: 322 kB / 3.342 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/7.862, allocations: 220.8 kB / 3.342 GB, free: 15.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/7.863, allocations: 336.7 kB / 3.343 GB, free: 14.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/7.863, allocations: 265.5 kB / 3.343 GB, free: 14.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/7.863, allocations: 0 / 3.343 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001282/7.864, allocations: 0.695 MB / 3.343 GB, free: 13.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/7.865, allocations: 279.5 kB / 3.344 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/7.865, allocations: 0 / 3.344 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/7.865, allocations: 62.48 kB / 3.344 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/7.866, allocations: 103.9 kB / 3.344 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006079/7.866, allocations: 0.6264 MB / 3.345 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/7.867, allocations: 79.8 kB / 3.345 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-05/7.867, allocations: 27.97 kB / 3.345 GB, free: 12.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/7.867, allocations: 4.625 kB / 3.345 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/7.868, allocations: 0.5848 MB / 3.345 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/7.868, allocations: 0 / 3.345 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/7.868, allocations: 60.83 kB / 3.345 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/7.869, allocations: 103.9 kB / 3.345 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/7.871, allocations: 1.713 MB / 3.347 GB, free: 9.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/7.872, allocations: 71.94 kB / 3.347 GB, free: 9.926 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/7.872, allocations: 19.98 kB / 3.347 GB, free: 9.906 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001752/7.872, allocations: 128.9 kB / 3.347 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/7.872, allocations: 85.75 kB / 3.347 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/7.873, allocations: 0.7582 MB / 3.348 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/7.873, allocations: 8 kB / 3.348 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/7.873, allocations: 0 / 3.348 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/7.874, allocations: 3.984 kB / 3.348 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/7.876, allocations: 1.657 MB / 3.35 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/7.876, allocations: 0 / 3.35 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/7.877, allocations: 100.3 kB / 3.35 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/7.877, allocations: 60.77 kB / 3.35 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/7.877, allocations: 12 kB / 3.35 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004143/7.878, allocations: 0.5992 MB / 3.35 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/7.878, allocations: 8.016 kB / 3.35 GB, free: 6.352 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/7.879, allocations: 1.235 MB / 3.352 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/7.88, allocations: 204.1 kB / 3.352 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/7.88, allocations: 19.17 kB / 3.352 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/7.881, allocations: 95.75 kB / 3.352 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/7.881, allocations: 35.91 kB / 3.352 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/7.881, allocations: 24.08 kB / 3.352 GB, free: 4.586 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006561/7.881, allocations: 451.1 kB / 3.352 GB, free: 4.148 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/7.881, allocations: 0 / 3.352 GB, free: 4.148 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00257/7.884, allocations: 0.601 MB / 3.353 GB, free: 3.547 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.4725/8.357, allocations: 4.637 MB / 3.358 GB, free: 105.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002006/8.359, allocations: 0.9724 MB / 3.358 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/8.359, allocations: 0.8438 kB / 3.358 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005119/8.359, allocations: 282 kB / 3.359 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/8.362, allocations: 0.5121 MB / 3.359 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/8.369, allocations: 1.69 MB / 3.361 GB, free: 104.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/8.369, allocations: 0.9912 MB / 3.362 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001467/8.371, allocations: 302.3 kB / 3.362 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/8.371, allocations: 272.7 kB / 3.362 GB, free: 104.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/8.371, allocations: 0 / 3.362 GB, free: 104.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/8.483, allocations: 61.65 MB / 3.423 GB, free: 102.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/8.483, allocations: 229 kB / 3.423 GB, free: 102.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.177/12.66, allocations: 3.938 kB / 3.423 GB, free: 102.6 MB / 0.698 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/linux/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)