Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008916/0.0008918, allocations: 171.6 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205 MB / 221.9 MB, free: 9.066 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.0006716/0.0006716, allocations: 93.69 kB / 269.9 MB, free: 8.652 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.5933/0.5933, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 8 kB / 484.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 65.8 MB / 0.5378 GB, free: 34.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.0439/0.2688, allocations: 64.89 MB / 0.6011 GB, free: 5.891 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01739/0.2863, allocations: 17.52 MB / 0.6182 GB, free: 4.312 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.2878, allocations: 43.8 kB / 0.6183 GB, free: 4.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.2899, allocations: 1.026 MB / 0.6193 GB, free: 3.238 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.2948, allocations: 2.588 MB / 0.6218 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.2976, allocations: 1.355 MB / 0.6231 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003871/0.3015, allocations: 5.136 MB / 0.6282 GB, free: 10.12 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.3021, allocations: 0.5411 MB / 0.6287 GB, free: 9.555 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3037, allocations: 1.33 MB / 0.63 GB, free: 8.219 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.3049, allocations: 1.447 MB / 0.6314 GB, free: 6.766 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.3051, allocations: 92 kB / 0.6315 GB, free: 6.676 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.3088, allocations: 1.747 MB / 0.6332 GB, free: 4.926 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3091, allocations: 374.1 kB / 0.6335 GB, free: 4.559 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008672/0.3099, allocations: 1.076 MB / 0.6346 GB, free: 3.477 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.3143, allocations: 3.58 MB / 0.6381 GB, free: 15.89 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3144, allocations: 0 / 0.6381 GB, free: 15.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3144, allocations: 4 kB / 0.6381 GB, free: 15.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.3144, allocations: 0 / 0.6381 GB, free: 15.88 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.004193/0.3186, allocations: 2.38 MB / 0.6404 GB, free: 13.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3186, allocations: 8.031 kB / 0.6404 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.3191, allocations: 246 kB / 0.6407 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3203, allocations: 1.062 MB / 0.6417 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.392e-05/0.3204, allocations: 140.1 kB / 0.6418 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.3207, allocations: 188.4 kB / 0.642 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.3235, allocations: 1.986 MB / 0.644 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.3236, allocations: 0 / 0.644 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.3237, allocations: 79.98 kB / 0.644 GB, free: 9.676 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.3238, allocations: 52 kB / 0.6441 GB, free: 9.625 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/0.3271, allocations: 2.33 MB / 0.6464 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008162/0.3352, allocations: 9.009 MB / 0.6552 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.3382, allocations: 2.253 MB / 0.6574 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.3396, allocations: 1.094 MB / 0.6584 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006123/0.3458, allocations: 6.196 MB / 0.6645 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/0.3475, allocations: 1.085 MB / 0.6655 GB, free: 1.949 MB / 490.7 MB Notification: Performance of pre-optimization done (n=218): time 3.767e-06/0.3475, allocations: 0 / 0.6655 GB, free: 1.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.00567/0.3532, allocations: 3.326 MB / 0.6688 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3532, allocations: 77.41 kB / 0.6689 GB, free: 14.46 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29:92:writable] Warning: Parameter valveEqualPercentage.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter valveEqualPercentage.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter valveEqualPercentage.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter valveParabolic.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter valveParabolic.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29:92:writable] Warning: Parameter valveLinear.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter valveLinear.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter valveLinear.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.3542, allocations: 0.9519 MB / 0.6698 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3543, allocations: 65.64 kB / 0.6698 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.3548, allocations: 0.7359 MB / 0.6706 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.3552, allocations: 0.7121 MB / 0.6713 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.3553, allocations: 36 kB / 0.6713 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3554, allocations: 381.8 kB / 0.6717 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.3567, allocations: 0.7653 MB / 0.6724 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.3581, allocations: 0.9539 MB / 0.6733 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.361, allocations: 1.864 MB / 0.6752 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.361, allocations: 0 / 0.6752 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00389/0.3649, allocations: 2.347 MB / 0.6774 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.365, allocations: 33.7 kB / 0.6775 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.365, allocations: 4 kB / 0.6775 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004951/0.3655, allocations: 166.4 kB / 0.6776 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.3668, allocations: 403.4 kB / 0.678 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1812/0.548, allocations: 4.509 MB / 0.6824 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.5496, allocations: 195.3 kB / 0.6826 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.5498, allocations: 90.23 kB / 0.6827 GB, free: 132.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006673/0.5504, allocations: 342.6 kB / 0.683 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.5508, allocations: 170 kB / 0.6832 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005933/0.5567, allocations: 3.118 MB / 0.6862 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/0.5568, allocations: 13.06 kB / 0.6862 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5568, allocations: 1.391 kB / 0.6862 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/0.5576, allocations: 0.5324 MB / 0.6868 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.5578, allocations: 46.8 kB / 0.6868 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.5587, allocations: 119.2 kB / 0.6869 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.559, allocations: 192.4 kB / 0.6871 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005118/0.5642, allocations: 2.637 MB / 0.6897 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005596/0.5698, allocations: 3.743 MB / 0.6933 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001545/0.5713, allocations: 1.132 MB / 0.6944 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000798/0.5722, allocations: 0.6317 MB / 0.6951 GB, free: 128 MB / 0.4948 GB Notification: Performance of Backend: time 5.41e-07/0.5722, allocations: 3.375 kB / 0.6951 GB, free: 128 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004612/0.5768, allocations: 2.93 MB / 0.6979 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of SimCode: time 0.004329/0.5811, allocations: 4.706 MB / 0.7025 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.04962/0.6308, allocations: 43.25 MB / 0.7448 GB, free: 84.98 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1)