Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) [: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.003307/0.003306, allocations: 181.4 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.899/1.899, allocations: 221.4 MB / 229.3 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 102.3 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.0103/0.0103, allocations: 1.573 MB / 332.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7716/0.7716, allocations: 90.04 MB / 473.6 MB, free: 7.254 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.2854/1.057, allocations: 76.21 MB / 0.537 GB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/1.358, allocations: 69.35 MB / 0.6047 GB, free: 8.766 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.677/3.034, allocations: 357 MB / 0.9534 GB, free: 73.66 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/3.035, allocations: 91.44 kB / 0.9534 GB, free: 73.61 MB / 0.573 GB 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 1.73/4.765, allocations: 401.2 MB / 1.345 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/4.765, allocations: 8.344 kB / 1.345 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/4.765, allocations: 246.8 kB / 1.345 GB, free: 85.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/4.767, allocations: 1.084 MB / 1.347 GB, free: 84.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/4.767, allocations: 62.62 kB / 1.347 GB, free: 84.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/4.768, allocations: 117.1 kB / 1.347 GB, free: 84.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002933/4.771, allocations: 2.123 MB / 1.349 GB, free: 84.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/4.773, allocations: 1.656 MB / 1.35 GB, free: 84.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/4.773, allocations: 3.875 kB / 1.35 GB, free: 84.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/4.773, allocations: 3.906 kB / 1.35 GB, free: 84.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/4.773, allocations: 46.53 kB / 1.35 GB, free: 84.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/4.784, allocations: 8.805 MB / 1.359 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/4.786, allocations: 1.768 MB / 1.361 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/4.788, allocations: 0.9703 MB / 1.362 GB, free: 79.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007623/4.795, allocations: 6.152 MB / 1.368 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/4.797, allocations: 0.9525 MB / 1.369 GB, free: 75.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=216): time 4.187e-06/4.797, allocations: 0 / 1.369 GB, free: 75.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216): time 0.008492/4.805, allocations: 2.528 MB / 1.371 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/4.805, allocations: 74.56 kB / 1.371 GB, free: 75.69 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:27:3-28: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 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:25:3-26: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 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:23:3-24: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 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:25:3-26: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 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:23:3-24: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 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:27:3-28: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 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:25:3-26: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 1.0.0-main/Undirected/FlowControl/BasicControlValve.mo:23:3-24: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.001129/4.806, allocations: 0.7212 MB / 1.372 GB, free: 75.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/4.807, allocations: 25.7 kB / 1.372 GB, free: 75.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/4.807, allocations: 0.5427 MB / 1.372 GB, free: 75.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005558/4.808, allocations: 0.6881 MB / 1.373 GB, free: 74.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/4.808, allocations: 3.609 kB / 1.373 GB, free: 74.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001442/4.808, allocations: 373.9 kB / 1.373 GB, free: 74.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/4.809, allocations: 0.676 MB / 1.374 GB, free: 74.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/4.81, allocations: 0.8604 MB / 1.375 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005523/4.816, allocations: 1.337 MB / 1.376 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/4.816, allocations: 6.938 kB / 1.376 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.008173/4.824, allocations: 2.65 MB / 1.379 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/4.824, allocations: 10.53 kB / 1.379 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/4.824, allocations: 7.031 kB / 1.379 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/4.824, allocations: 159.9 kB / 1.379 GB, free: 74.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/4.826, allocations: 404.1 kB / 1.379 GB, free: 74.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/4.829, allocations: 4.26 MB / 1.384 GB, free: 70.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/4.831, allocations: 160.1 kB / 1.384 GB, free: 70.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/4.831, allocations: 87.98 kB / 1.384 GB, free: 70.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003186/4.831, allocations: 139.9 kB / 1.384 GB, free: 70.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/4.832, allocations: 160.4 kB / 1.384 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009224/4.841, allocations: 3.468 MB / 1.388 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-05/4.841, allocations: 24.44 kB / 1.388 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/4.841, allocations: 3.938 kB / 1.388 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/4.841, allocations: 11.06 kB / 1.388 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/4.853, allocations: 5.15 MB / 1.393 GB, free: 69.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/4.853, allocations: 2.625 kB / 1.393 GB, free: 69.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/4.854, allocations: 430.6 kB / 1.393 GB, free: 69.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/4.855, allocations: 167.4 kB / 1.393 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/4.855, allocations: 56.19 kB / 1.393 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/4.858, allocations: 4.269 MB / 1.397 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/4.858, allocations: 3.938 kB / 1.397 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009342/4.867, allocations: 3.9 MB / 1.401 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01161/4.879, allocations: 5.546 MB / 1.407 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/4.881, allocations: 0.5378 MB / 1.407 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005937/4.881, allocations: 10.28 kB / 1.407 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/4.883, allocations: 85.22 kB / 1.407 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/4.884, allocations: 166.1 kB / 1.407 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/4.884, allocations: 94.88 kB / 1.407 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001022/4.885, allocations: 0.5313 MB / 1.408 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0047/4.89, allocations: 1.137 MB / 1.409 GB, free: 63.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.rear.m_flow,valveParabolic.rear.m_flow,valveEqualPercentage.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002294/4.892, allocations: 1.36 MB / 1.41 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004008/4.896, allocations: 2.261 MB / 1.413 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/4.896, allocations: 1.969 kB / 1.413 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/4.898, allocations: 1.47 MB / 1.414 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/4.901, allocations: 481 kB / 1.415 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/4.907, allocations: 2.716 MB / 1.417 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/4.909, allocations: 1.682 MB / 1.419 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/4.909, allocations: 3.625 kB / 1.419 GB, free: 61.3 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1)