Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",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.00459/0.00459, allocations: 179.5 kB / 7.458 MB, free: 2.5 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.955/1.955, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0008398/0.0008398, allocations: 91.02 kB / 280.1 MB, free: 1.238 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.009265/0.009266, allocations: 1.569 MB / 332.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5466/0.5466, allocations: 90.04 MB / 473.6 MB, free: 7.258 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.3829/0.9296, allocations: 76.22 MB / 0.537 GB, free: 14.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/1.223, allocations: 69.36 MB / 0.6047 GB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.449/2.672, allocations: 359 MB / 0.9553 GB, free: 71.62 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/2.672, allocations: 85.94 kB / 0.9554 GB, free: 71.59 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 1.146/3.818, allocations: 275.2 MB / 1.224 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/3.818, allocations: 12.44 kB / 1.224 GB, free: 82.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/3.82, allocations: 205.6 kB / 1.224 GB, free: 81.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/3.823, allocations: 0.9306 MB / 1.225 GB, free: 80.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/3.823, allocations: 43.98 kB / 1.225 GB, free: 80.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005046/3.823, allocations: 76 kB / 1.225 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003195/3.827, allocations: 1.458 MB / 1.227 GB, free: 79.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/3.83, allocations: 1.158 MB / 1.228 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/3.83, allocations: 3.984 kB / 1.228 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/3.83, allocations: 3.906 kB / 1.228 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/3.83, allocations: 32 kB / 1.228 GB, free: 78.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/3.842, allocations: 6.203 MB / 1.234 GB, free: 71.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/3.844, allocations: 1.205 MB / 1.235 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/3.845, allocations: 0.6673 MB / 1.236 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007893/3.853, allocations: 4.431 MB / 1.24 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/3.854, allocations: 0.6472 MB / 1.241 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 5.38e-06/3.854, allocations: 0 / 1.241 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.005943/3.86, allocations: 1.737 MB / 1.243 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/3.86, allocations: 72.72 kB / 1.243 GB, free: 62.13 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValveInverse.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/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValveInverse.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/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter slideValve.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/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValve.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/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValve.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/SpecificValveType.mo:16:3-18:44:writable] Warning: Parameter slideValve.d_valve 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.002429/3.863, allocations: 1.006 MB / 1.244 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/3.863, allocations: 29.7 kB / 1.244 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/3.863, allocations: 448.8 kB / 1.244 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000471/3.864, allocations: 484.7 kB / 1.244 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/3.864, allocations: 0 / 1.244 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001358/3.864, allocations: 365.8 kB / 1.245 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008412/3.865, allocations: 463.9 kB / 1.245 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009448/3.866, allocations: 0.6153 MB / 1.246 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004062/3.87, allocations: 0.9154 MB / 1.247 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/3.87, allocations: 0 / 1.247 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006083/3.876, allocations: 1.845 MB / 1.249 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/3.876, allocations: 4 kB / 1.249 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/3.876, allocations: 4 kB / 1.249 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/3.877, allocations: 109.8 kB / 1.249 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/3.878, allocations: 291.6 kB / 1.249 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/3.881, allocations: 2.844 MB / 1.252 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/3.882, allocations: 122.9 kB / 1.252 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/3.883, allocations: 68.02 kB / 1.252 GB, free: 52.24 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 (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003271/3.883, allocations: 136.5 kB / 1.252 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006001/3.884, allocations: 146.4 kB / 1.252 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007253/3.891, allocations: 2.396 MB / 1.255 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/3.891, allocations: 16 kB / 1.255 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/3.891, allocations: 4 kB / 1.255 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/3.891, allocations: 7.969 kB / 1.255 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009912/3.901, allocations: 3.71 MB / 1.258 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/3.901, allocations: 3.906 kB / 1.258 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/3.902, allocations: 315.6 kB / 1.258 GB, free: 45.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/3.903, allocations: 109.6 kB / 1.259 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/3.903, allocations: 31.97 kB / 1.259 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/3.905, allocations: 2.842 MB / 1.261 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/3.905, allocations: 0 / 1.261 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00686/3.912, allocations: 2.722 MB / 1.264 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007653/3.92, allocations: 3.946 MB / 1.268 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/3.922, allocations: 0.5024 MB / 1.268 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/3.922, allocations: 3.938 kB / 1.268 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/3.923, allocations: 71.75 kB / 1.268 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/3.924, allocations: 117.8 kB / 1.269 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/3.924, allocations: 72.12 kB / 1.269 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001549/3.925, allocations: 0.7651 MB / 1.269 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003993/3.929, allocations: 0.7956 MB / 1.27 GB, free: 33.24 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.rear.m_flow,slideValveInverse.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 (170): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.002816/3.932, allocations: 1.094 MB / 1.271 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003096/3.935, allocations: 1.552 MB / 1.273 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/3.935, allocations: 4.062 kB / 1.273 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/3.937, allocations: 0.9949 MB / 1.274 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/3.94, allocations: 368.5 kB / 1.274 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007314/3.947, allocations: 2.353 MB / 1.276 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/3.949, allocations: 1.516 MB / 1.278 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/3.949, allocations: 0 / 1.278 GB, free: 25.32 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1)