Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004966/0.004966, allocations: 179.8 kB / 7.455 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7209/0.7209, allocations: 130.6 MB / 138.5 MB, free: 2.129 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.778/1.778, allocations: 221.3 MB / 391.4 MB, free: 13.01 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.0009913/0.0009913, allocations: 116.7 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.023e-06, allocations: 2.406 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1666, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.054/4.22, allocations: 1.9 GB / 2.528 GB, free: 243.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/4.221, allocations: 84.59 kB / 2.528 GB, free: 243.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.027/5.248, allocations: 326.3 MB / 2.846 GB, free: 149.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003264/5.248, allocations: 56.44 kB / 2.846 GB, free: 149.3 MB / 0.6667 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.006733/5.255, allocations: 2.136 MB / 2.848 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/5.255, allocations: 9.219 kB / 2.848 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00552/5.26, allocations: 0.5834 MB / 2.849 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005761/5.266, allocations: 2.247 MB / 2.851 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/5.266, allocations: 53.25 kB / 2.851 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/5.267, allocations: 95.62 kB / 2.851 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003704/5.27, allocations: 1.882 MB / 2.853 GB, free: 146.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/5.273, allocations: 1.589 MB / 2.855 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/5.273, allocations: 3.062 kB / 2.855 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/5.273, allocations: 3.562 kB / 2.855 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/5.273, allocations: 39.66 kB / 2.855 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/5.284, allocations: 5.831 MB / 2.86 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/5.287, allocations: 1.801 MB / 2.862 GB, free: 143 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/5.288, allocations: 0.6729 MB / 2.863 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008932/5.289, allocations: 0.7506 MB / 2.864 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/5.291, allocations: 0.868 MB / 2.864 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=137): time 4.449e-06/5.291, allocations: 0 / 2.864 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=137): time 0.004836/5.295, allocations: 1.601 MB / 2.866 GB, free: 141.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/5.296, allocations: 250.7 kB / 2.866 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/5.3, allocations: 2.342 MB / 2.869 GB, free: 140.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/5.301, allocations: 29.11 kB / 2.869 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/5.301, allocations: 0.5719 MB / 2.869 GB, free: 140 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/5.302, allocations: 436.3 kB / 2.87 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/5.302, allocations: 6.562 kB / 2.87 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001067/5.302, allocations: 353 kB / 2.87 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008069/5.303, allocations: 484.3 kB / 2.87 GB, free: 139 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009298/5.304, allocations: 0.6875 MB / 2.871 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/5.305, allocations: 0.5769 MB / 2.872 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/5.305, allocations: 0 / 2.872 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003378/5.308, allocations: 1.531 MB / 2.873 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/5.308, allocations: 5.281 kB / 2.873 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/5.308, allocations: 3.125 kB / 2.873 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/5.309, allocations: 212 kB / 2.873 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/5.311, allocations: 301.7 kB / 2.874 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/5.316, allocations: 6.502 MB / 2.88 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/5.318, allocations: 124.7 kB / 2.88 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/5.318, allocations: 67.92 kB / 2.88 GB, free: 130.8 MB / 0.6667 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.0004235/5.319, allocations: 123.7 kB / 2.88 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/5.319, allocations: 174.4 kB / 2.88 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/5.324, allocations: 2.032 MB / 2.882 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/5.324, allocations: 11.84 kB / 2.882 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/5.324, allocations: 1.875 kB / 2.882 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/5.324, allocations: 8.844 kB / 2.882 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007172/5.331, allocations: 3.866 MB / 2.886 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/5.331, allocations: 2.719 kB / 2.886 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/5.333, allocations: 319 kB / 2.886 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009345/5.334, allocations: 210.7 kB / 2.887 GB, free: 126 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/5.334, allocations: 27.95 kB / 2.887 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/5.338, allocations: 6.527 MB / 2.893 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.338, allocations: 0 / 2.893 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00335/5.341, allocations: 1.726 MB / 2.895 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/5.343, allocations: 0.6506 MB / 2.895 GB, free: 116.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/5.343, allocations: 7.984 kB / 2.895 GB, free: 116.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/5.344, allocations: 104.8 kB / 2.896 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/5.345, allocations: 85.19 kB / 2.896 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/5.345, allocations: 90.97 kB / 2.896 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002058/5.347, allocations: 1.808 MB / 2.897 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002633/5.35, allocations: 0.7637 MB / 2.898 GB, free: 113.7 MB / 0.6667 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.002615/5.352, allocations: 1.73 MB / 2.9 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002391/5.355, allocations: 1.71 MB / 2.902 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/5.355, allocations: 4.656 kB / 2.902 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/5.356, allocations: 1.203 MB / 2.903 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/5.358, allocations: 419.9 kB / 2.903 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/5.366, allocations: 2.906 MB / 2.906 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/5.368, allocations: 1.85 MB / 2.908 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of SimCode: time 8.81e-07/5.368, allocations: 1.312 kB / 2.908 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.05994/5.428, allocations: 38.88 MB / 2.946 GB, free: 66.83 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)