Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 108.6 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 190.7 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6739/0.6739, allocations: 91.19 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 79.86 kB / 0.5175 GB, free: 4.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2942, allocations: 67.69 MB / 0.5836 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.4622/0.7564, allocations: 173.1 MB / 0.7527 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.7679, allocations: 11 MB / 0.7634 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.7692, allocations: 53.75 kB / 0.7635 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.771, allocations: 0.7997 MB / 0.7643 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.7746, allocations: 1.688 MB / 0.7659 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.777, allocations: 1.12 MB / 0.767 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.7792, allocations: 2.548 MB / 0.7695 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.7798, allocations: 480.9 kB / 0.77 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.7812, allocations: 1.057 MB / 0.771 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.7826, allocations: 1.356 MB / 0.7723 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.7828, allocations: 143.6 kB / 0.7725 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.7865, allocations: 1.939 MB / 0.7744 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.7868, allocations: 353.9 kB / 0.7747 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007242/0.7875, allocations: 0.8163 MB / 0.7755 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.7909, allocations: 2.592 MB / 0.778 GB, free: 396 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7909, allocations: 0 / 0.778 GB, free: 396 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.607e-06/0.7909, allocations: 0.9062 kB / 0.778 GB, free: 396 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.7909, allocations: 3.938 kB / 0.778 GB, free: 392 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003589/0.7945, allocations: 2.029 MB / 0.78 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.7946, allocations: 7.969 kB / 0.78 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.7949, allocations: 168.2 kB / 0.7802 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.7963, allocations: 0.9796 MB / 0.7811 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.7964, allocations: 89.09 kB / 0.7812 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.7966, allocations: 126.7 kB / 0.7813 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.7988, allocations: 1.535 MB / 0.7828 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.7988, allocations: 3.219 kB / 0.7828 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.7989, allocations: 43.28 kB / 0.7829 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.7989, allocations: 30.53 kB / 0.7829 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.8013, allocations: 1.663 MB / 0.7845 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.8077, allocations: 6.223 MB / 0.7906 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.8097, allocations: 1.285 MB / 0.7919 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.8107, allocations: 0.6945 MB / 0.7925 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004357/0.8151, allocations: 4.022 MB / 0.7965 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.8163, allocations: 0.7313 MB / 0.7972 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=128): time 3.055e-06/0.8163, allocations: 0.6875 kB / 0.7972 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=129): time 0.006954/0.8232, allocations: 3.968 MB / 0.8011 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.8233, allocations: 67.31 kB / 0.8011 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.8241, allocations: 0.7091 MB / 0.8018 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/0.8242, allocations: 47.08 kB / 0.8019 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.8246, allocations: 0.5286 MB / 0.8024 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.8249, allocations: 435.8 kB / 0.8028 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.8252, allocations: 207 kB / 0.803 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8254, allocations: 347.6 kB / 0.8033 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/0.8263, allocations: 0.5157 MB / 0.8038 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/0.8273, allocations: 0.6259 MB / 0.8044 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.8293, allocations: 1.242 MB / 0.8057 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.8293, allocations: 3.156 kB / 0.8057 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002867/0.8322, allocations: 1.591 MB / 0.8072 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.8323, allocations: 32.02 kB / 0.8072 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8323, allocations: 2.062 kB / 0.8072 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.8327, allocations: 166 kB / 0.8074 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008785/0.8336, allocations: 245.9 kB / 0.8076 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.8374, allocations: 2.711 MB / 0.8103 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.838, allocations: 49.38 kB / 0.8103 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.8382, allocations: 54.39 kB / 0.8104 GB, free: 1.906 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004803/0.8387, allocations: 294.9 kB / 0.8107 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.8389, allocations: 115.2 kB / 0.8108 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.843, allocations: 2.322 MB / 0.813 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.843, allocations: 4.828 kB / 0.813 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.843, allocations: 3.938 kB / 0.813 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.8433, allocations: 188.5 kB / 0.8132 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.8434, allocations: 31.92 kB / 0.8133 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.844, allocations: 48.91 kB / 0.8133 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.8443, allocations: 121.1 kB / 0.8134 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003723/0.848, allocations: 1.779 MB / 0.8152 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004073/0.8521, allocations: 2.555 MB / 0.8177 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001106/0.8532, allocations: 0.7304 MB / 0.8184 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006079/0.8538, allocations: 0.5154 MB / 0.8189 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of Backend: time 2.01e-07/0.8539, allocations: 1 kB / 0.8189 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003481/0.8573, allocations: 1.711 MB / 0.8205 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of SimCode: time 0.004006/0.8614, allocations: 2.752 MB / 0.8232 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.04385/0.9052, allocations: 28.99 MB / 0.8515 GB, free: 9.02 MB / 0.6387 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1)