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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 172.5 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.486/1.486, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.001032/0.001032, allocations: 98.05 kB / 280.5 MB, free: 5.328 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.009816/0.009817, allocations: 1.561 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7756/0.7756, allocations: 90.04 MB / 474 MB, free: 13.03 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.781e-05, allocations: 3.156 kB / 0.5376 GB, free: 33.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1561, allocations: 69.36 MB / 0.6053 GB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.368, allocations: 357.1 MB / 0.954 GB, free: 166 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.369, allocations: 81.36 kB / 0.9541 GB, free: 166 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.139/2.507, allocations: 396.2 MB / 1.341 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/2.507, allocations: 0 / 1.341 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002358/2.508, allocations: 63.67 kB / 1.341 GB, free: 53.15 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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.007864/2.516, allocations: 2.419 MB / 1.343 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/2.516, allocations: 8.031 kB / 1.343 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/2.517, allocations: 301 kB / 1.344 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/2.52, allocations: 1.064 MB / 1.345 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/2.52, allocations: 64 kB / 1.345 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000546/2.521, allocations: 119.9 kB / 1.345 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003733/2.524, allocations: 2.089 MB / 1.347 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/2.528, allocations: 1.623 MB / 1.349 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/2.528, allocations: 3.984 kB / 1.349 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/2.528, allocations: 0 / 1.349 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/2.528, allocations: 44 kB / 1.349 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/2.538, allocations: 8.703 MB / 1.357 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/2.541, allocations: 2.106 MB / 1.359 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/2.542, allocations: 0.9565 MB / 1.36 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00711/2.549, allocations: 6.056 MB / 1.366 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/2.55, allocations: 0.9332 MB / 1.367 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=216): time 5.981e-06/2.551, allocations: 0 / 1.367 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216): time 0.006818/2.557, allocations: 2.352 MB / 1.369 GB, free: 22.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/2.557, allocations: 77.41 kB / 1.369 GB, free: 22.67 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.00123/2.559, allocations: 0.7153 MB / 1.37 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/2.559, allocations: 29.7 kB / 1.37 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/2.559, allocations: 0.7355 MB / 1.371 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005134/2.56, allocations: 0.6888 MB / 1.371 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/2.56, allocations: 0 / 1.371 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001114/2.56, allocations: 377.9 kB / 1.372 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009096/2.561, allocations: 0.6562 MB / 1.372 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/2.562, allocations: 0.8463 MB / 1.373 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004588/2.567, allocations: 1.188 MB / 1.374 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/2.567, allocations: 4 kB / 1.374 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.007009/2.574, allocations: 2.481 MB / 1.377 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/2.574, allocations: 29.7 kB / 1.377 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/2.574, allocations: 4 kB / 1.377 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/2.574, allocations: 162.4 kB / 1.377 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/2.576, allocations: 395.4 kB / 1.377 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/2.579, allocations: 4.343 MB / 1.382 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/2.58, allocations: 158.5 kB / 1.382 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/2.581, allocations: 91.88 kB / 1.382 GB, free: 9.324 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.0003341/2.581, allocations: 136.5 kB / 1.382 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006945/2.588, allocations: 2.364 MB / 1.384 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/2.588, allocations: 162 kB / 1.384 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0074/2.596, allocations: 2.989 MB / 1.387 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/2.596, allocations: 28 kB / 1.387 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/2.596, allocations: 11.97 kB / 1.387 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/2.596, allocations: 7.969 kB / 1.387 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5142/3.11, allocations: 4.745 MB / 1.392 GB, free: 85.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/3.11, allocations: 2.391 kB / 1.392 GB, free: 85.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/3.112, allocations: 410.5 kB / 1.392 GB, free: 85.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000623/3.113, allocations: 158 kB / 1.393 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/3.113, allocations: 53.95 kB / 1.393 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/3.116, allocations: 4.341 MB / 1.397 GB, free: 82.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/3.116, allocations: 4.703 kB / 1.397 GB, free: 82.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008343/3.125, allocations: 3.624 MB / 1.4 GB, free: 81.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/3.126, allocations: 0.5359 MB / 1.401 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/3.126, allocations: 5.625 kB / 1.401 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/3.127, allocations: 80.41 kB / 1.401 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/3.127, allocations: 181.7 kB / 1.401 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/3.128, allocations: 89.31 kB / 1.401 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008119/3.129, allocations: 0.5289 MB / 1.402 GB, free: 81.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/3.129, allocations: 2.875 kB / 1.402 GB, free: 81.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003069/3.132, allocations: 0.826 MB / 1.403 GB, free: 81.42 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 (235): * Single equations (assignments): 224 * 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.01173/3.143, allocations: 5.569 MB / 1.408 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003989/3.147, allocations: 2.245 MB / 1.41 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/3.147, allocations: 2.438 kB / 1.41 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/3.149, allocations: 1.419 MB / 1.412 GB, free: 79.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/3.152, allocations: 0.4912 MB / 1.412 GB, free: 79.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/3.159, allocations: 2.965 MB / 1.415 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/3.16, allocations: 1.428 MB / 1.416 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001961/3.162, allocations: 423.6 kB / 1.417 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/3.163, allocations: 0.8389 MB / 1.418 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of SimCode: time 1.472e-06/3.163, allocations: 3.719 kB / 1.418 GB, free: 77.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/3.264, allocations: 51.68 MB / 1.468 GB, free: 75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/3.264, allocations: 164.3 kB / 1.468 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.045/7.309, allocations: 0 / 1.468 GB, free: 74.8 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) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat does not exist to compare? outputFormat=mat