Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV") [: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 3.2.3+maint.om/package.mo): time 0.002333/0.002332, allocations: 184.4 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9602/0.9602, allocations: 205.2 MB / 213.1 MB, free: 13.89 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008012/0.0008013, allocations: 83.66 kB / 261.1 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4902/0.4902, allocations: 90.34 MB / 399.4 MB, free: 12.25 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.982e-06/5.992e-06, allocations: 4 kB / 471.7 MB, free: 3.785 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.219, allocations: 66.26 MB / 0.5253 GB, free: 28.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6573/0.8763, allocations: 438.5 MB / 0.9536 GB, free: 163 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.8766, allocations: 78.89 kB / 0.9537 GB, free: 163 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.7729/1.649, allocations: 350.7 MB / 1.296 GB, free: 84.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.385e-05/1.65, allocations: 47.59 kB / 1.296 GB, free: 84.58 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003767/1.653, allocations: 2.044 MB / 1.298 GB, free: 82.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.653, allocations: 12.03 kB / 1.298 GB, free: 82.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/1.654, allocations: 208.9 kB / 1.298 GB, free: 82.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/1.655, allocations: 0.8921 MB / 1.299 GB, free: 81.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/1.655, allocations: 48 kB / 1.299 GB, free: 81.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/1.655, allocations: 91.91 kB / 1.299 GB, free: 81.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001715/1.657, allocations: 1.321 MB / 1.301 GB, free: 79.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/1.659, allocations: 1.362 MB / 1.302 GB, free: 78.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/1.659, allocations: 3.984 kB / 1.302 GB, free: 78.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.659, allocations: 7.938 kB / 1.302 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/1.659, allocations: 39.98 kB / 1.302 GB, free: 78.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006493/1.665, allocations: 7.197 MB / 1.309 GB, free: 70.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/1.667, allocations: 1.159 MB / 1.31 GB, free: 69.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000746/1.668, allocations: 0.7196 MB / 1.311 GB, free: 68.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007276/1.668, allocations: 1.44 MB / 1.312 GB, free: 66.99 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.668, allocations: 59.62 kB / 1.312 GB, free: 66.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 3.627e-06/1.668, allocations: 4 kB / 1.312 GB, free: 66.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.003424/1.672, allocations: 1.684 MB / 1.314 GB, free: 65.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.672, allocations: 175.1 kB / 1.314 GB, free: 65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/1.672, allocations: 0.6423 MB / 1.315 GB, free: 64.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/1.673, allocations: 25.7 kB / 1.315 GB, free: 64.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/1.673, allocations: 456.3 kB / 1.315 GB, free: 63.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/1.673, allocations: 0.5811 MB / 1.316 GB, free: 63.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/1.673, allocations: 0 / 1.316 GB, free: 63.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/1.673, allocations: 369.9 kB / 1.316 GB, free: 62.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/1.674, allocations: 0.4921 MB / 1.317 GB, free: 62.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/1.674, allocations: 0.7863 MB / 1.317 GB, free: 61.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/1.676, allocations: 0.6991 MB / 1.318 GB, free: 60.81 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.676, allocations: 3.906 kB / 1.318 GB, free: 60.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003294/1.68, allocations: 1.805 MB / 1.32 GB, free: 58.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.68, allocations: 8 kB / 1.32 GB, free: 58.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.68, allocations: 8 kB / 1.32 GB, free: 58.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/1.68, allocations: 208.2 kB / 1.32 GB, free: 58.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.681, allocations: 391.4 kB / 1.321 GB, free: 58.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/1.685, allocations: 6.745 MB / 1.327 GB, free: 51.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.686, allocations: 142.5 kB / 1.327 GB, free: 50.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.687, allocations: 79.88 kB / 1.327 GB, free: 50.83 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002415/1.687, allocations: 140.6 kB / 1.327 GB, free: 50.69 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/1.687, allocations: 142.5 kB / 1.328 GB, free: 50.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/1.691, allocations: 2.114 MB / 1.33 GB, free: 48.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.691, allocations: 16 kB / 1.33 GB, free: 48.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.691, allocations: 11.91 kB / 1.33 GB, free: 48.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.691, allocations: 7.969 kB / 1.33 GB, free: 48.37 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/1.697, allocations: 3.785 MB / 1.333 GB, free: 44.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.697, allocations: 0 / 1.333 GB, free: 44.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.698, allocations: 291.7 kB / 1.334 GB, free: 44.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/1.699, allocations: 431.2 kB / 1.334 GB, free: 43.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.699, allocations: 35.95 kB / 1.334 GB, free: 43.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004487/1.704, allocations: 9.072 MB / 1.343 GB, free: 34.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.704, allocations: 3.906 kB / 1.343 GB, free: 34.01 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004551/1.709, allocations: 3.135 MB / 1.346 GB, free: 30.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/1.709, allocations: 230.9 kB / 1.346 GB, free: 30.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.709, allocations: 8 kB / 1.346 GB, free: 30.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.71, allocations: 75.72 kB / 1.346 GB, free: 30.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.71, allocations: 120.2 kB / 1.346 GB, free: 30.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.71, allocations: 79.94 kB / 1.347 GB, free: 30.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0004789/1.711, allocations: 486.1 kB / 1.347 GB, free: 29.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001996/1.713, allocations: 0.7838 MB / 1.348 GB, free: 28.98 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (flowResistance4.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/1.714, allocations: 1.194 MB / 1.349 GB, free: 27.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002383/1.717, allocations: 2.038 MB / 1.351 GB, free: 25.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.717, allocations: 4 kB / 1.351 GB, free: 25.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.719, allocations: 1.497 MB / 1.352 GB, free: 24.17 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/1.72, allocations: 410.1 kB / 1.353 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/1.724, allocations: 2.762 MB / 1.355 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008729/1.725, allocations: 1.438 MB / 1.357 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of SimCode: time 2.5e-07/1.725, allocations: 0 / 1.357 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.2044/1.93, allocations: 34 MB / 1.39 GB, free: 140.4 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)