Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001345, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009131/0.0009129, allocations: 92.12 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7422/0.7422, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.36e-05, allocations: 4 kB / 472.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.377, allocations: 66.25 MB / 0.5259 GB, free: 28.87 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6738/1.051, allocations: 353.4 MB / 0.8711 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.051, allocations: 78.14 kB / 0.8711 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.301/2.352, allocations: 338.7 MB / 1.202 GB, free: 95.67 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.134e-06/2.352, allocations: 0 / 1.202 GB, free: 95.67 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002056/2.353, allocations: 46.48 kB / 1.202 GB, free: 95.66 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005048/2.358, allocations: 1.775 MB / 1.204 GB, free: 94.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/2.358, allocations: 10.88 kB / 1.204 GB, free: 94.84 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008985/2.359, allocations: 193.7 kB / 1.204 GB, free: 94.75 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/2.361, allocations: 0.7843 MB / 1.205 GB, free: 94.42 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/2.361, allocations: 42.38 kB / 1.205 GB, free: 94.42 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/2.361, allocations: 71.28 kB / 1.205 GB, free: 94.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001905/2.363, allocations: 1.035 MB / 1.206 GB, free: 94.41 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/2.365, allocations: 0.9016 MB / 1.207 GB, free: 94.33 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/2.365, allocations: 0 / 1.207 GB, free: 94.33 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/2.365, allocations: 3.656 kB / 1.207 GB, free: 94.33 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/2.365, allocations: 27.09 kB / 1.207 GB, free: 94.33 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/2.37, allocations: 4.696 MB / 1.211 GB, free: 91.65 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/2.371, allocations: 1.12 MB / 1.212 GB, free: 91.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/2.372, allocations: 494.4 kB / 1.213 GB, free: 91.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003441/2.375, allocations: 3.774 MB / 1.216 GB, free: 88.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/2.375, allocations: 49.38 kB / 1.217 GB, free: 88.71 MB / 0.573 GB Notification: Performance of pre-optimization done (n=115): time 2.595e-06/2.375, allocations: 0 / 1.217 GB, free: 88.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=115): time 0.002486/2.378, allocations: 1.055 MB / 1.218 GB, free: 88.56 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/2.378, allocations: 67.19 kB / 1.218 GB, free: 88.49 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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.0007416/2.378, allocations: 0.5936 MB / 1.218 GB, free: 88.35 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/2.379, allocations: 25.7 kB / 1.218 GB, free: 88.32 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/2.379, allocations: 0.5592 MB / 1.219 GB, free: 88.08 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/2.379, allocations: 374.7 kB / 1.219 GB, free: 87.83 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/2.379, allocations: 0 / 1.219 GB, free: 87.83 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/2.379, allocations: 347.7 kB / 1.219 GB, free: 87.53 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/2.38, allocations: 336.5 kB / 1.22 GB, free: 87.53 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/2.38, allocations: 421.4 kB / 1.22 GB, free: 87.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/2.381, allocations: 364.7 kB / 1.221 GB, free: 87.47 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/2.381, allocations: 0 / 1.221 GB, free: 87.47 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002247/2.384, allocations: 1.104 MB / 1.222 GB, free: 87.32 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/2.384, allocations: 5.875 kB / 1.222 GB, free: 87.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/2.384, allocations: 0 / 1.222 GB, free: 87.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/2.384, allocations: 152.1 kB / 1.222 GB, free: 87.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/2.385, allocations: 195 kB / 1.222 GB, free: 87.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/2.387, allocations: 4.312 MB / 1.226 GB, free: 83.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/2.388, allocations: 85.25 kB / 1.226 GB, free: 83.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.691e-05/2.388, allocations: 40.59 kB / 1.226 GB, free: 83.63 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001721/2.389, allocations: 114.9 kB / 1.226 GB, free: 83.52 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002284/2.391, allocations: 1.056 MB / 1.227 GB, free: 83.37 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/2.391, allocations: 110.3 kB / 1.228 GB, free: 83.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/2.394, allocations: 1.314 MB / 1.229 GB, free: 83.15 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/2.394, allocations: 14.69 kB / 1.229 GB, free: 83.15 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/2.394, allocations: 3.625 kB / 1.229 GB, free: 83.15 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/2.394, allocations: 3.938 kB / 1.229 GB, free: 83.15 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/2.398, allocations: 2.429 MB / 1.231 GB, free: 82.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/2.398, allocations: 7.797 kB / 1.231 GB, free: 82.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/2.398, allocations: 184.6 kB / 1.231 GB, free: 82.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/2.399, allocations: 152 kB / 1.232 GB, free: 82.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/2.399, allocations: 25.75 kB / 1.232 GB, free: 82.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/2.402, allocations: 4.317 MB / 1.236 GB, free: 79.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.402, allocations: 0 / 1.236 GB, free: 79.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/2.405, allocations: 1.772 MB / 1.237 GB, free: 78.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/2.405, allocations: 318.5 kB / 1.238 GB, free: 78.56 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/2.406, allocations: 7.5 kB / 1.238 GB, free: 78.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/2.406, allocations: 37.97 kB / 1.238 GB, free: 78.56 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/2.407, allocations: 89.95 kB / 1.238 GB, free: 78.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/2.407, allocations: 41.91 kB / 1.238 GB, free: 78.56 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005687/2.407, allocations: 458 kB / 1.238 GB, free: 78.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/2.407, allocations: 0 / 1.238 GB, free: 78.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00185/2.409, allocations: 0.5779 MB / 1.239 GB, free: 78.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.inlet.m_flow,valveParabolic.inlet.m_flow,valveEqualPercentage.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.004847/2.414, allocations: 3.6 MB / 1.242 GB, free: 76.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001954/2.416, allocations: 1.366 MB / 1.244 GB, free: 76.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/2.416, allocations: 3.156 kB / 1.244 GB, free: 76.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/2.417, allocations: 0.9645 MB / 1.245 GB, free: 76.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/2.419, allocations: 345.7 kB / 1.245 GB, free: 76.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/2.424, allocations: 1.913 MB / 1.247 GB, free: 75.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/2.424, allocations: 1.169 MB / 1.248 GB, free: 74.81 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008833/2.425, allocations: 207.8 kB / 1.248 GB, free: 74.75 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/2.426, allocations: 0.5259 MB / 1.249 GB, free: 74.74 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/2.426, allocations: 0 / 1.249 GB, free: 74.74 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0658/2.491, allocations: 35.35 MB / 1.283 GB, free: 66.43 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/2.492, allocations: 169.2 kB / 1.283 GB, free: 66.23 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/5.753, allocations: 0 / 1.283 GB, free: 66.23 MB / 0.573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat does not exist to compare? outputFormat=mat