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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008996/0.0008999, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008984/0.0008987, allocations: 95.42 kB / 261.4 MB, free: 13.45 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.8507/0.8507, allocations: 90.36 MB / 399.7 MB, free: 12.12 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 1.798e-05/1.799e-05, allocations: 3.938 kB / 472.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3831, allocations: 66.25 MB / 0.5258 GB, free: 29.05 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.558, allocations: 438.6 MB / 0.9542 GB, free: 217 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/1.558, allocations: 79.95 kB / 0.9543 GB, free: 216.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.02/2.578, allocations: 348.6 MB / 1.295 GB, free: 97.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/2.578, allocations: 0 / 1.295 GB, free: 97.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001004/2.578, allocations: 51 kB / 1.295 GB, free: 97.57 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.004127/2.582, allocations: 2.003 MB / 1.297 GB, free: 96.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/2.582, allocations: 11.58 kB / 1.297 GB, free: 96.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/2.583, allocations: 222.7 kB / 1.297 GB, free: 96.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/2.584, allocations: 0.88 MB / 1.298 GB, free: 95.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/2.584, allocations: 49.94 kB / 1.298 GB, free: 95.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/2.584, allocations: 95.02 kB / 1.298 GB, free: 95.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001852/2.586, allocations: 1.317 MB / 1.299 GB, free: 94.81 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/2.588, allocations: 1.36 MB / 1.301 GB, free: 94.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/2.588, allocations: 3.938 kB / 1.301 GB, free: 94.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/2.588, allocations: 6.594 kB / 1.301 GB, free: 94.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/2.588, allocations: 39.94 kB / 1.301 GB, free: 94.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007313/2.596, allocations: 7.219 MB / 1.308 GB, free: 87.53 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/2.598, allocations: 1.578 MB / 1.309 GB, free: 86.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007946/2.599, allocations: 0.7184 MB / 1.31 GB, free: 86.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/2.599, allocations: 1.439 MB / 1.311 GB, free: 84.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/2.599, allocations: 60.16 kB / 1.311 GB, free: 84.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 4.769e-06/2.599, allocations: 3.469 kB / 1.311 GB, free: 84.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.003768/2.603, allocations: 1.672 MB / 1.313 GB, free: 83.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/2.603, allocations: 171.1 kB / 1.313 GB, free: 82.92 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/2.604, allocations: 0.6384 MB / 1.314 GB, free: 82.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/2.604, allocations: 29.7 kB / 1.314 GB, free: 82.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/2.604, allocations: 0.6136 MB / 1.314 GB, free: 81.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/2.605, allocations: 0.5879 MB / 1.315 GB, free: 81.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/2.605, allocations: 0 / 1.315 GB, free: 81.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/2.605, allocations: 369.9 kB / 1.315 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/2.606, allocations: 496 kB / 1.316 GB, free: 80.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007785/2.606, allocations: 0.7891 MB / 1.317 GB, free: 79.26 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/2.608, allocations: 0.6836 MB / 1.317 GB, free: 78.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/2.608, allocations: 0 / 1.317 GB, free: 78.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003432/2.612, allocations: 1.787 MB / 1.319 GB, free: 76.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/2.612, allocations: 11.98 kB / 1.319 GB, free: 76.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/2.612, allocations: 12 kB / 1.319 GB, free: 76.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/2.612, allocations: 212.1 kB / 1.319 GB, free: 76.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/2.614, allocations: 379.5 kB / 1.32 GB, free: 76.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/2.618, allocations: 6.855 MB / 1.326 GB, free: 68.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/2.619, allocations: 138.5 kB / 1.326 GB, free: 68.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/2.619, allocations: 75.97 kB / 1.326 GB, free: 68.54 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.0002996/2.619, allocations: 144.5 kB / 1.327 GB, free: 68.39 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/2.62, allocations: 146.3 kB / 1.327 GB, free: 68.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/2.624, allocations: 2.029 MB / 1.329 GB, free: 66.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/2.624, allocations: 20 kB / 1.329 GB, free: 66.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/2.624, allocations: 4 kB / 1.329 GB, free: 66.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/2.624, allocations: 7.969 kB / 1.329 GB, free: 66.15 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006087/2.63, allocations: 3.76 MB / 1.332 GB, free: 62.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/2.63, allocations: 4.156 kB / 1.332 GB, free: 62.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/2.631, allocations: 283.6 kB / 1.333 GB, free: 62.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/2.633, allocations: 427.4 kB / 1.333 GB, free: 61.63 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/2.633, allocations: 35.95 kB / 1.333 GB, free: 61.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004689/2.637, allocations: 9.144 MB / 1.342 GB, free: 51.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.637, allocations: 0 / 1.342 GB, free: 51.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/2.642, allocations: 3.102 MB / 1.345 GB, free: 48.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/2.643, allocations: 246.5 kB / 1.345 GB, free: 48.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/2.643, allocations: 4 kB / 1.345 GB, free: 48.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/2.644, allocations: 67.8 kB / 1.345 GB, free: 48.24 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/2.644, allocations: 144.4 kB / 1.346 GB, free: 48.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/2.644, allocations: 78.56 kB / 1.346 GB, free: 48.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000542/2.645, allocations: 486.1 kB / 1.346 GB, free: 47.54 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/2.645, allocations: 0 / 1.346 GB, free: 47.54 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002471/2.647, allocations: 0.7994 MB / 1.347 GB, free: 46.74 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.001745/2.649, allocations: 1.187 MB / 1.348 GB, free: 45.65 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002715/2.652, allocations: 2.062 MB / 1.35 GB, free: 43.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/2.652, allocations: 0 / 1.35 GB, free: 43.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/2.654, allocations: 1.534 MB / 1.352 GB, free: 41.92 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/2.656, allocations: 431.5 kB / 1.352 GB, free: 41.51 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/2.66, allocations: 2.753 MB / 1.355 GB, free: 38.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/2.661, allocations: 1.281 MB / 1.356 GB, free: 37.46 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001141/2.662, allocations: 293.6 kB / 1.356 GB, free: 37.19 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/2.662, allocations: 143.4 kB / 1.356 GB, free: 37.05 MB / 0.5886 GB Notification: Performance of SimCode: time 9.11e-07/2.662, allocations: 0 / 1.356 GB, free: 37.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.04331/2.706, allocations: 31.75 MB / 1.387 GB, free: 5.52 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)