Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") [: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.001019/0.001019, allocations: 178.9 kB / 7.456 MB, free: 1.551 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5989/0.5989, allocations: 133.5 MB / 141.4 MB, free: 4.676 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.107/1.107, allocations: 221.4 MB / 395 MB, free: 13.63 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007828/0.0007829, allocations: 95.02 kB / 477.8 MB, free: 10.93 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.24e-06, allocations: 0 / 0.5528 GB, free: 49.85 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3103, allocations: 82.3 MB / 0.6332 GB, free: 5.629 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.71/3.021, allocations: 1.901 GB / 2.534 GB, free: 264.2 MB / 0.6902 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/3.021, allocations: 84.97 kB / 2.534 GB, free: 264.2 MB / 0.6902 GB Notification: Performance of FrontEnd: time 0.8479/3.869, allocations: 326.6 MB / 2.853 GB, free: 166 MB / 0.6902 GB Notification: Performance of Transformations before backend: time 0.0001705/3.869, allocations: 55.36 kB / 2.853 GB, free: 166 MB / 0.6902 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.003547/3.873, allocations: 2.158 MB / 2.855 GB, free: 165.1 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/3.873, allocations: 9.219 kB / 2.855 GB, free: 165.1 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/3.876, allocations: 0.5832 MB / 2.856 GB, free: 164.9 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/3.879, allocations: 2.258 MB / 2.858 GB, free: 164.6 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/3.879, allocations: 54.66 kB / 2.858 GB, free: 164.6 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/3.879, allocations: 96.06 kB / 2.858 GB, free: 164.6 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002542/3.882, allocations: 1.88 MB / 2.86 GB, free: 164.6 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/3.884, allocations: 1.593 MB / 2.861 GB, free: 164.4 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/3.884, allocations: 0 / 2.861 GB, free: 164.4 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/3.884, allocations: 11.66 kB / 2.861 GB, free: 164.4 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/3.884, allocations: 39.5 kB / 2.861 GB, free: 164.4 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008234/3.893, allocations: 6.019 MB / 2.867 GB, free: 163 MB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/3.895, allocations: 1.819 MB / 2.869 GB, free: 162.6 MB / 0.6902 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/3.895, allocations: 0.6684 MB / 2.87 GB, free: 162.6 MB / 0.6902 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/3.896, allocations: 0.7473 MB / 2.87 GB, free: 161.8 MB / 0.6902 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/3.897, allocations: 0.8505 MB / 2.871 GB, free: 161.7 MB / 0.6902 GB Notification: Performance of pre-optimization done (n=137): time 3.136e-06/3.897, allocations: 3.719 kB / 2.871 GB, free: 161.7 MB / 0.6902 GB Notification: Performance of matching and sorting (n=137): time 0.003455/3.9, allocations: 1.601 MB / 2.873 GB, free: 161.5 MB / 0.6902 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/3.901, allocations: 251.6 kB / 2.873 GB, free: 161.3 MB / 0.6902 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/3.903, allocations: 2.358 MB / 2.875 GB, free: 161.1 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/3.903, allocations: 25.7 kB / 2.875 GB, free: 161.1 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/3.904, allocations: 0.579 MB / 2.876 GB, free: 160.8 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/3.904, allocations: 438.8 kB / 2.876 GB, free: 160.5 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/3.904, allocations: 0 / 2.876 GB, free: 160.5 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/3.904, allocations: 349.5 kB / 2.877 GB, free: 160.2 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/3.905, allocations: 492.2 kB / 2.877 GB, free: 160.2 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/3.905, allocations: 0.6843 MB / 2.878 GB, free: 160 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/3.906, allocations: 0.5751 MB / 2.878 GB, free: 160 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/3.906, allocations: 2.531 kB / 2.878 GB, free: 160 MB / 0.6902 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002709/3.909, allocations: 1.534 MB / 2.88 GB, free: 159.8 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/3.909, allocations: 7.625 kB / 2.88 GB, free: 159.8 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/3.909, allocations: 0 / 2.88 GB, free: 159.8 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009773/3.91, allocations: 203.9 kB / 2.88 GB, free: 159.8 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/3.911, allocations: 315.1 kB / 2.88 GB, free: 159.8 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/3.915, allocations: 6.512 MB / 2.887 GB, free: 153.8 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/3.917, allocations: 133.6 kB / 2.887 GB, free: 153.7 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/3.917, allocations: 69.34 kB / 2.887 GB, free: 153.7 MB / 0.6902 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.0002714/3.917, allocations: 128.2 kB / 2.887 GB, free: 153.6 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/3.918, allocations: 174.6 kB / 2.887 GB, free: 153.5 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/3.921, allocations: 2.021 MB / 2.889 GB, free: 153.4 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/3.921, allocations: 16.39 kB / 2.889 GB, free: 153.4 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/3.922, allocations: 1.125 kB / 2.889 GB, free: 153.4 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/3.922, allocations: 8.391 kB / 2.889 GB, free: 153.4 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/3.927, allocations: 3.875 MB / 2.893 GB, free: 153 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/3.927, allocations: 3.125 kB / 2.893 GB, free: 153 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/3.929, allocations: 329.9 kB / 2.893 GB, free: 153 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008734/3.93, allocations: 203.3 kB / 2.894 GB, free: 152.9 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/3.93, allocations: 28.86 kB / 2.894 GB, free: 152.9 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/3.934, allocations: 6.524 MB / 2.9 GB, free: 146.9 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/3.934, allocations: 3.891 kB / 2.9 GB, free: 146.9 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002901/3.936, allocations: 1.721 MB / 2.902 GB, free: 146.6 MB / 0.6902 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/3.938, allocations: 0.6586 MB / 2.902 GB, free: 146.4 MB / 0.6902 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/3.938, allocations: 4.344 kB / 2.902 GB, free: 146.4 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/3.939, allocations: 118.9 kB / 2.902 GB, free: 146.4 MB / 0.6902 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/3.939, allocations: 88.03 kB / 2.902 GB, free: 146.4 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/3.94, allocations: 82.86 kB / 2.903 GB, free: 146.4 MB / 0.6902 GB Notification: Performance of sort global known variables: time 0.002501/3.942, allocations: 1.824 MB / 2.904 GB, free: 146.3 MB / 0.6902 GB Notification: Performance of remove unused functions: time 0.002656/3.945, allocations: 0.7604 MB / 2.905 GB, free: 146.2 MB / 0.6902 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.002878/3.948, allocations: 1.728 MB / 2.907 GB, free: 145.8 MB / 0.6902 GB Notification: Performance of simCode: created initialization part: time 0.002767/3.95, allocations: 1.707 MB / 2.908 GB, free: 145.3 MB / 0.6902 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/3.951, allocations: 3.281 kB / 2.908 GB, free: 145.3 MB / 0.6902 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/3.952, allocations: 1.207 MB / 2.91 GB, free: 144.8 MB / 0.6902 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/3.954, allocations: 410.7 kB / 2.91 GB, free: 144.8 MB / 0.6902 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008844/3.963, allocations: 3.009 MB / 2.913 GB, free: 144.1 MB / 0.6902 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/3.966, allocations: 1.867 MB / 2.915 GB, free: 143.3 MB / 0.6902 GB Notification: Performance of SimCode: time 1.402e-06/3.966, allocations: 0 / 2.915 GB, free: 143.3 MB / 0.6902 GB Notification: Performance of Templates: time 0.06039/4.026, allocations: 39.05 MB / 2.953 GB, free: 118.8 MB / 0.6902 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)