Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") [: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.002007/0.002007, allocations: 179.8 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6071/0.6071, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.145/1.145, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008115/0.0008113, allocations: 99.03 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.582e-06, allocations: 0 / 0.5528 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.639/2.751, allocations: 1.901 GB / 2.534 GB, free: 61.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/2.752, allocations: 87.95 kB / 2.534 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7717/3.523, allocations: 321.9 MB / 2.848 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001631/3.524, allocations: 51.98 kB / 2.848 GB, free: 14.42 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003532/3.527, allocations: 2.169 MB / 2.85 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/3.527, allocations: 8.031 kB / 2.85 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/3.531, allocations: 0.5901 MB / 2.851 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/3.533, allocations: 2.251 MB / 2.853 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/3.533, allocations: 52 kB / 2.853 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/3.534, allocations: 99.91 kB / 2.853 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002325/3.536, allocations: 1.884 MB / 2.855 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/3.538, allocations: 1.593 MB / 2.857 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/3.538, allocations: 3.938 kB / 2.857 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/3.538, allocations: 4 kB / 2.857 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/3.538, allocations: 40 kB / 2.857 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/3.719, allocations: 6.046 MB / 2.863 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/3.721, allocations: 1.827 MB / 2.864 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/3.722, allocations: 0.6693 MB / 2.865 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/3.723, allocations: 0.7464 MB / 2.866 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/3.724, allocations: 0.8653 MB / 2.867 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.377e-06/3.724, allocations: 0 / 2.867 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003455/3.727, allocations: 1.594 MB / 2.868 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/3.727, allocations: 251.9 kB / 2.868 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/3.73, allocations: 2.366 MB / 2.871 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/3.73, allocations: 33.48 kB / 2.871 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/3.73, allocations: 0.5821 MB / 2.871 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/3.73, allocations: 436.8 kB / 2.872 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/3.73, allocations: 0 / 2.872 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/3.73, allocations: 349 kB / 2.872 GB, free: 217 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/3.731, allocations: 486.1 kB / 2.873 GB, free: 217 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/3.732, allocations: 0.6868 MB / 2.873 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/3.733, allocations: 0.572 MB / 2.874 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/3.733, allocations: 0 / 2.874 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002835/3.735, allocations: 1.542 MB / 2.875 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/3.735, allocations: 3.625 kB / 2.875 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/3.735, allocations: 0 / 2.875 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009302/3.736, allocations: 214 kB / 2.876 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/3.738, allocations: 320.3 kB / 2.876 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/3.742, allocations: 6.501 MB / 2.882 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/3.743, allocations: 134.8 kB / 2.882 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/3.743, allocations: 64.81 kB / 2.882 GB, free: 210.6 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002492/3.743, allocations: 139.4 kB / 2.883 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/3.743, allocations: 174.3 kB / 2.883 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/3.747, allocations: 2.01 MB / 2.885 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/3.747, allocations: 23.97 kB / 2.885 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/3.747, allocations: 3.844 kB / 2.885 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/3.747, allocations: 7.688 kB / 2.885 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/3.753, allocations: 3.871 MB / 2.888 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/3.753, allocations: 0 / 2.888 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/3.754, allocations: 330.9 kB / 2.889 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/3.755, allocations: 210.8 kB / 2.889 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.235e-05/3.755, allocations: 22.17 kB / 2.889 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/3.759, allocations: 6.52 MB / 2.895 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/3.759, allocations: 3.75 kB / 2.895 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002782/3.762, allocations: 1.727 MB / 2.897 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/3.763, allocations: 0.6583 MB / 2.898 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/3.763, allocations: 3.703 kB / 2.898 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/3.764, allocations: 111.9 kB / 2.898 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/3.764, allocations: 90.66 kB / 2.898 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/3.765, allocations: 81.59 kB / 2.898 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001864/3.766, allocations: 1.839 MB / 2.9 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001965/3.768, allocations: 0.7654 MB / 2.901 GB, free: 203.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002157/3.771, allocations: 1.737 MB / 2.902 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001988/3.773, allocations: 1.711 MB / 2.904 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/3.773, allocations: 4.594 kB / 2.904 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/3.774, allocations: 1.203 MB / 2.905 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/3.776, allocations: 416.9 kB / 2.905 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/3.782, allocations: 3.022 MB / 2.908 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/3.783, allocations: 1.868 MB / 2.91 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/3.783, allocations: 0 / 2.91 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.04851/3.832, allocations: 39.1 MB / 2.948 GB, free: 199.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)