Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 172.4 kB / 7.647 MB, free: 1.422 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.427/1.427, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.001116/0.001116, allocations: 85.94 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009316/0.009315, allocations: 1.567 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7653/0.7653, allocations: 90.04 MB / 474 MB, free: 13.02 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.905e-05, allocations: 2.906 kB / 0.5376 GB, free: 33.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1606, allocations: 69.37 MB / 0.6053 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.276, allocations: 355.4 MB / 0.9524 GB, free: 226.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/1.276, allocations: 80.02 kB / 0.9525 GB, free: 226.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.849/2.125, allocations: 238 MB / 1.185 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/2.125, allocations: 0 / 1.185 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001645/2.125, allocations: 36.53 kB / 1.185 GB, free: 121.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004908/2.13, allocations: 1.539 MB / 1.186 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.187e-05/2.131, allocations: 10.09 kB / 1.186 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/2.131, allocations: 166.4 kB / 1.187 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/2.133, allocations: 0.7261 MB / 1.187 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/2.134, allocations: 26.59 kB / 1.187 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/2.134, allocations: 54.25 kB / 1.187 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001947/2.136, allocations: 0.7376 MB / 1.188 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/2.138, allocations: 0.6414 MB / 1.189 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/2.138, allocations: 0 / 1.189 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/2.138, allocations: 0.75 kB / 1.189 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/2.138, allocations: 23.19 kB / 1.189 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006931/2.145, allocations: 3.428 MB / 1.192 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/2.147, allocations: 0.7897 MB / 1.193 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/2.147, allocations: 347.1 kB / 1.193 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004355/2.152, allocations: 2.51 MB / 1.196 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/2.152, allocations: 42.5 kB / 1.196 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 4.168e-06/2.152, allocations: 0.9375 kB / 1.196 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.002882/2.155, allocations: 0.7687 MB / 1.196 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/2.155, allocations: 59.97 kB / 1.197 GB, free: 116.5 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24: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/FlowControl/SpecificValveType.mo:21:3-22: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/FlowControl/SpecificValveType.mo:25:3-26: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/FlowControl/SpecificValveType.mo:23:3-24: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/FlowControl/SpecificValveType.mo:21:3-22: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/FlowControl/SpecificValveType.mo:14:3-16: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.001895/2.157, allocations: 0.9163 MB / 1.197 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/2.157, allocations: 25.7 kB / 1.197 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/2.157, allocations: 0.5013 MB / 1.198 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/2.157, allocations: 268.5 kB / 1.198 GB, free: 116 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/2.157, allocations: 0 / 1.198 GB, free: 116 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/2.158, allocations: 337 kB / 1.199 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/2.158, allocations: 236 kB / 1.199 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/2.159, allocations: 314.2 kB / 1.199 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/2.16, allocations: 256 kB / 1.199 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/2.16, allocations: 3.844 kB / 1.199 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002544/2.162, allocations: 0.8052 MB / 1.2 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/2.162, allocations: 7.062 kB / 1.2 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/2.162, allocations: 7.406 kB / 1.2 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/2.163, allocations: 100.7 kB / 1.2 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/2.164, allocations: 145.4 kB / 1.2 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/2.167, allocations: 2.879 MB / 1.203 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/2.168, allocations: 67.19 kB / 1.203 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/2.168, allocations: 25.11 kB / 1.203 GB, free: 113 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001766/2.168, allocations: 118.6 kB / 1.203 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002538/2.17, allocations: 0.7635 MB / 1.204 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/2.171, allocations: 120.4 kB / 1.204 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/2.173, allocations: 0.9587 MB / 1.205 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/2.173, allocations: 10.06 kB / 1.205 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/2.173, allocations: 0 / 1.205 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/2.173, allocations: 3.891 kB / 1.205 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/2.177, allocations: 1.914 MB / 1.207 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/2.177, allocations: 0 / 1.207 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/2.177, allocations: 139.5 kB / 1.207 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/2.177, allocations: 102.6 kB / 1.207 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/2.177, allocations: 19.11 kB / 1.207 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/2.179, allocations: 2.876 MB / 1.21 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.179, allocations: 3 kB / 1.21 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/2.181, allocations: 1.305 MB / 1.211 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/2.182, allocations: 355.2 kB / 1.212 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/2.182, allocations: 9.641 kB / 1.212 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/2.183, allocations: 31.8 kB / 1.212 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/2.183, allocations: 61.17 kB / 1.212 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/2.183, allocations: 30.69 kB / 1.212 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008359/2.184, allocations: 0.7043 MB / 1.213 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.184, allocations: 0 / 1.213 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001371/2.185, allocations: 437.9 kB / 1.213 GB, free: 109.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.003771/2.189, allocations: 2.87 MB / 1.216 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001258/2.19, allocations: 0.9415 MB / 1.217 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.19, allocations: 0 / 1.217 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006897/2.191, allocations: 0.6651 MB / 1.217 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/2.192, allocations: 277.1 kB / 1.218 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/2.196, allocations: 1.866 MB / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/2.197, allocations: 1.154 MB / 1.221 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008491/2.198, allocations: 193.4 kB / 1.221 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/2.198, allocations: 450.7 kB / 1.221 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/2.198, allocations: 2.5 kB / 1.221 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/2.267, allocations: 27.93 MB / 1.248 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/2.267, allocations: 178.5 kB / 1.249 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/5.361, allocations: 0 / 1.249 GB, free: 105.2 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat does not exist to compare? outputFormat=mat