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: translateModel(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5937/0.5937, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.117/1.117, allocations: 221.4 MB / 395 MB, free: 10.21 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.0008416/0.0008416, allocations: 99.16 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.791e-06, allocations: 0 / 0.5528 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.749/2.854, allocations: 1.89 GB / 2.523 GB, free: 55.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/2.855, allocations: 91.94 kB / 2.523 GB, free: 55.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994/4.849, allocations: 0.8012 GB / 3.325 GB, free: 36.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.352e-05/4.849, allocations: 27.98 kB / 3.325 GB, free: 36.27 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.002343/4.851, allocations: 1.218 MB / 3.326 GB, free: 35.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/4.851, allocations: 8.031 kB / 3.326 GB, free: 35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/4.853, allocations: 274.5 kB / 3.326 GB, free: 34.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/4.855, allocations: 0.8041 MB / 3.327 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/4.855, allocations: 16 kB / 3.327 GB, free: 33.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/4.855, allocations: 35.91 kB / 3.327 GB, free: 33.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007799/4.856, allocations: 0.576 MB / 3.327 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/4.856, allocations: 0.5315 MB / 3.328 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/4.856, allocations: 4 kB / 3.328 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/4.857, allocations: 0 / 3.328 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/4.857, allocations: 12 kB / 3.328 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/4.86, allocations: 2.67 MB / 3.331 GB, free: 29.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/4.86, allocations: 487.6 kB / 3.331 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/4.861, allocations: 329.5 kB / 3.331 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/4.861, allocations: 0.6407 MB / 3.332 GB, free: 28.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/4.861, allocations: 38.94 kB / 3.332 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 1.513e-06/4.861, allocations: 2.406 kB / 3.332 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.00226/4.863, allocations: 0.9473 MB / 3.333 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.593e-05/4.863, allocations: 59.34 kB / 3.333 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/4.864, allocations: 467.7 kB / 3.333 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/4.864, allocations: 33.7 kB / 3.333 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/4.864, allocations: 236.7 kB / 3.334 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/4.864, allocations: 153.7 kB / 3.334 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/4.864, allocations: 0 / 3.334 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/4.864, allocations: 378.7 kB / 3.334 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/4.865, allocations: 228.8 kB / 3.334 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/4.865, allocations: 351.8 kB / 3.335 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/4.865, allocations: 356.4 kB / 3.335 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/4.865, allocations: 4 kB / 3.335 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001216/4.867, allocations: 0.7878 MB / 3.336 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/4.867, allocations: 279.9 kB / 3.336 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/4.867, allocations: 3.938 kB / 3.336 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/4.867, allocations: 56.84 kB / 3.336 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/4.867, allocations: 103.9 kB / 3.336 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003664/4.868, allocations: 0.646 MB / 3.337 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/4.868, allocations: 83.69 kB / 3.337 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/4.868, allocations: 27.97 kB / 3.337 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/4.869, allocations: 4 kB / 3.337 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/4.87, allocations: 0.666 MB / 3.338 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-06/4.87, allocations: 3.938 kB / 3.338 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/4.87, allocations: 60.88 kB / 3.338 GB, free: 22.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/4.87, allocations: 99.86 kB / 3.338 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/4.871, allocations: 1.615 MB / 3.339 GB, free: 20.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/4.872, allocations: 75.73 kB / 3.339 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/4.872, allocations: 23.98 kB / 3.339 GB, free: 20.24 MB / 0.6823 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.000112/4.872, allocations: 120.8 kB / 3.34 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/4.872, allocations: 67.16 kB / 3.34 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/4.874, allocations: 0.8405 MB / 3.34 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/4.874, allocations: 8 kB / 3.34 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/4.874, allocations: 0 / 3.34 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/4.874, allocations: 7.969 kB / 3.34 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/4.876, allocations: 1.678 MB / 3.342 GB, free: 17.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/4.876, allocations: 4.406 kB / 3.342 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/4.876, allocations: 99.83 kB / 3.342 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/4.876, allocations: 48.83 kB / 3.342 GB, free: 17.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/4.877, allocations: 12 kB / 3.342 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002418/4.877, allocations: 0.6031 MB / 3.343 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/4.877, allocations: 11.84 kB / 3.343 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001312/4.878, allocations: 1.301 MB / 3.344 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/4.878, allocations: 208 kB / 3.344 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/4.878, allocations: 8 kB / 3.344 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/4.879, allocations: 87.75 kB / 3.344 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/4.879, allocations: 35.95 kB / 3.344 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/4.879, allocations: 23.91 kB / 3.345 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000283/4.88, allocations: 363.2 kB / 3.345 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001238/4.881, allocations: 0.5266 MB / 3.345 GB, free: 13.92 MB / 0.6823 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.001991/4.883, allocations: 2.381 MB / 3.348 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001142/4.884, allocations: 0.9683 MB / 3.349 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/4.884, allocations: 0 / 3.349 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/4.884, allocations: 283.7 kB / 3.349 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/4.886, allocations: 450 kB / 3.349 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/4.891, allocations: 1.535 MB / 3.351 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/4.891, allocations: 1.068 MB / 3.352 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/4.891, allocations: 0 / 3.352 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of Templates: time 0.2449/5.136, allocations: 30.25 MB / 3.381 GB, free: 169.3 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)