Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") [: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.002121/0.002121, allocations: 184.2 kB / 7.462 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.6029/0.6029, 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.146/1.146, allocations: 221.3 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.0008496/0.0008498, allocations: 86.42 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.242e-06, allocations: 0 / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.611/2.735, allocations: 1.9 GB / 2.533 GB, free: 44.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/2.735, allocations: 83.95 kB / 2.534 GB, free: 44.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.9826/3.717, allocations: 326.2 MB / 2.852 GB, free: 157 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001172/3.718, allocations: 52.03 kB / 2.852 GB, free: 157 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.002733/3.72, allocations: 2.136 MB / 2.854 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/3.72, allocations: 9.594 kB / 2.854 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/3.724, allocations: 0.5874 MB / 2.855 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/3.726, allocations: 2.237 MB / 2.857 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/3.726, allocations: 56.81 kB / 2.857 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/3.726, allocations: 102.9 kB / 2.857 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002224/3.729, allocations: 1.888 MB / 2.859 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/3.731, allocations: 1.582 MB / 2.861 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/3.731, allocations: 1.031 kB / 2.861 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/3.731, allocations: 7.297 kB / 2.861 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/3.731, allocations: 40.97 kB / 2.861 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006863/3.738, allocations: 5.831 MB / 2.866 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/3.74, allocations: 1.809 MB / 2.868 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/3.74, allocations: 0.6729 MB / 2.869 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006003/3.741, allocations: 0.75 MB / 2.87 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009538/3.742, allocations: 0.8597 MB / 2.87 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 2.775e-06/3.742, allocations: 3.375 kB / 2.87 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003275/3.745, allocations: 1.605 MB / 2.872 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/3.745, allocations: 249.8 kB / 2.872 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/3.748, allocations: 2.338 MB / 2.874 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/3.748, allocations: 29.42 kB / 2.874 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/3.748, allocations: 0.5678 MB / 2.875 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/3.748, allocations: 440.9 kB / 2.875 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/3.748, allocations: 0 / 2.875 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/3.748, allocations: 350.8 kB / 2.876 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/3.749, allocations: 486 kB / 2.876 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/3.75, allocations: 0.6821 MB / 2.877 GB, free: 151 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/3.75, allocations: 0.575 MB / 2.877 GB, free: 151 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/3.75, allocations: 0 / 2.877 GB, free: 151 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002598/3.753, allocations: 1.534 MB / 2.879 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/3.753, allocations: 8.594 kB / 2.879 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/3.753, allocations: 0 / 2.879 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/3.754, allocations: 220.9 kB / 2.879 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/3.755, allocations: 295.5 kB / 2.879 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/3.759, allocations: 6.513 MB / 2.886 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/3.76, allocations: 128.7 kB / 2.886 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/3.761, allocations: 67.41 kB / 2.886 GB, free: 144.7 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 (131): * Single equations (assignments): 126 * 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.0002611/3.761, allocations: 124 kB / 2.886 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/3.761, allocations: 176 kB / 2.886 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/3.765, allocations: 2.024 MB / 2.888 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/3.765, allocations: 14.06 kB / 2.888 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/3.765, allocations: 3.812 kB / 2.888 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/3.765, allocations: 7.359 kB / 2.888 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/3.771, allocations: 3.873 MB / 2.892 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/3.771, allocations: 0 / 2.892 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/3.772, allocations: 320.7 kB / 2.892 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008827/3.773, allocations: 213.6 kB / 2.893 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/3.773, allocations: 29.12 kB / 2.893 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/3.777, allocations: 6.518 MB / 2.899 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/3.777, allocations: 3.906 kB / 2.899 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002889/3.78, allocations: 1.727 MB / 2.901 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/3.781, allocations: 0.6555 MB / 2.901 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/3.781, allocations: 3.938 kB / 2.901 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/3.783, allocations: 105.4 kB / 2.901 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/3.783, allocations: 85.7 kB / 2.901 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/3.783, allocations: 87.42 kB / 2.902 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002102/3.785, allocations: 1.814 MB / 2.903 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002139/3.787, allocations: 0.7525 MB / 2.904 GB, free: 137.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.002519/3.79, allocations: 1.741 MB / 2.906 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002094/3.792, allocations: 1.706 MB / 2.907 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/3.792, allocations: 4.094 kB / 2.907 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/3.793, allocations: 1.209 MB / 2.909 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/3.795, allocations: 414.3 kB / 2.909 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/3.802, allocations: 2.904 MB / 2.912 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/3.804, allocations: 1.86 MB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/3.804, allocations: 7.25 kB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.05322/3.857, allocations: 38.84 MB / 2.952 GB, free: 132.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)