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.001604/0.001604, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 94.2 kB / 285.6 MB, free: 12.96 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.01365/0.01365, allocations: 1.554 MB / 338 MB, free: 8.465 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6511/0.6511, allocations: 90.04 MB / 479.3 MB, free: 2.965 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.232e-05/5.257e-05, allocations: 4 kB / 0.5446 GB, free: 7.883 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1825, allocations: 69.36 MB / 0.6123 GB, free: 2.434 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.406, allocations: 357.8 MB / 0.9617 GB, free: 59.09 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.407, allocations: 79.08 kB / 0.9618 GB, free: 59.05 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.699/3.106, allocations: 398.2 MB / 1.351 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/3.106, allocations: 0 / 1.351 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001393/3.106, allocations: 64.89 kB / 1.351 GB, free: 85.42 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.006242/3.112, allocations: 2.431 MB / 1.353 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/3.112, allocations: 15.39 kB / 1.353 GB, free: 84.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003507/3.113, allocations: 268.7 kB / 1.353 GB, free: 84.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/3.113, allocations: 300.7 kB / 1.354 GB, free: 84.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/3.115, allocations: 1.064 MB / 1.355 GB, free: 83.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/3.115, allocations: 138.4 kB / 1.355 GB, free: 83.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/3.116, allocations: 190.9 kB / 1.355 GB, free: 83.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/3.119, allocations: 1.871 MB / 1.357 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/3.119, allocations: 0 / 1.357 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/3.119, allocations: 79.86 kB / 1.357 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/3.119, allocations: 47 kB / 1.357 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/3.122, allocations: 2.193 MB / 1.359 GB, free: 83.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/3.132, allocations: 9.015 MB / 1.368 GB, free: 78.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/3.135, allocations: 2.185 MB / 1.37 GB, free: 78.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/3.136, allocations: 1.024 MB / 1.371 GB, free: 78.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008422/3.145, allocations: 6.126 MB / 1.377 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/3.147, allocations: 0.996 MB / 1.378 GB, free: 74.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=216): time 4.127e-06/3.147, allocations: 0 / 1.378 GB, free: 74.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216): time 0.00391/3.151, allocations: 2.016 MB / 1.38 GB, free: 74.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/3.151, allocations: 78.31 kB / 1.38 GB, free: 74.55 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.001281/3.152, allocations: 0.81 MB / 1.381 GB, free: 74.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/3.152, allocations: 61.83 kB / 1.381 GB, free: 74.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006981/3.153, allocations: 0.7437 MB / 1.382 GB, free: 74.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005811/3.153, allocations: 0.717 MB / 1.382 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/3.154, allocations: 38.62 kB / 1.382 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001729/3.154, allocations: 374.3 kB / 1.383 GB, free: 73.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/3.155, allocations: 0.6905 MB / 1.383 GB, free: 73.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/3.156, allocations: 0.887 MB / 1.384 GB, free: 73.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/3.157, allocations: 0.8233 MB / 1.385 GB, free: 73.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/3.157, allocations: 0 / 1.385 GB, free: 73.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.003566/3.161, allocations: 2.197 MB / 1.387 GB, free: 72.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/3.161, allocations: 37.08 kB / 1.387 GB, free: 72.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/3.161, allocations: 3.844 kB / 1.387 GB, free: 72.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/3.161, allocations: 163 kB / 1.387 GB, free: 72.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/3.163, allocations: 394.6 kB / 1.388 GB, free: 72.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/3.166, allocations: 4.485 MB / 1.392 GB, free: 69.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/3.168, allocations: 209.8 kB / 1.392 GB, free: 68.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/3.168, allocations: 81.28 kB / 1.392 GB, free: 68.94 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.0004156/3.169, allocations: 210.2 kB / 1.393 GB, free: 68.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/3.169, allocations: 159.2 kB / 1.393 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/3.176, allocations: 2.869 MB / 1.396 GB, free: 68.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-05/3.176, allocations: 24.03 kB / 1.396 GB, free: 68.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/3.176, allocations: 0 / 1.396 GB, free: 68.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/3.176, allocations: 15.08 kB / 1.396 GB, free: 68.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/3.188, allocations: 4.833 MB / 1.4 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/3.188, allocations: 2.469 kB / 1.4 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/3.19, allocations: 414.7 kB / 1.401 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005813/3.19, allocations: 165.3 kB / 1.401 GB, free: 67.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/3.191, allocations: 72.38 kB / 1.401 GB, free: 67.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/3.194, allocations: 4.489 MB / 1.405 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/3.194, allocations: 7.766 kB / 1.405 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/3.2, allocations: 3.483 MB / 1.409 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/3.201, allocations: 0.5364 MB / 1.409 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/3.202, allocations: 51.59 kB / 1.409 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/3.203, allocations: 121.2 kB / 1.409 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/3.204, allocations: 184.9 kB / 1.41 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/3.204, allocations: 91.42 kB / 1.41 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009612/3.205, allocations: 0.6083 MB / 1.41 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/3.205, allocations: 3.094 kB / 1.41 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003363/3.208, allocations: 0.8979 MB / 1.411 GB, free: 63.31 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.008417/3.217, allocations: 5.441 MB / 1.416 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004097/3.221, allocations: 2.378 MB / 1.419 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/3.221, allocations: 0 / 1.419 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/3.223, allocations: 1.484 MB / 1.42 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/3.226, allocations: 0.5278 MB / 1.421 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/3.236, allocations: 3.161 MB / 1.424 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/3.237, allocations: 1.423 MB / 1.425 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00238/3.24, allocations: 426 kB / 1.426 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/3.241, allocations: 0.8499 MB / 1.426 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of SimCode: time 1.673e-06/3.241, allocations: 0 / 1.426 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/3.361, allocations: 60.06 MB / 1.485 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/3.361, allocations: 189.6 kB / 1.485 GB, free: 31.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.495/7.856, allocations: 0 / 1.485 GB, free: 31.81 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