Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",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.01112/0.01112, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.001133/0.001133, allocations: 90.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8843/0.8843, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 8 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4577, allocations: 66.27 MB / 0.5387 GB, free: 45.6 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7622/1.22, allocations: 359.3 MB / 0.8896 GB, free: 51.8 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.22, allocations: 88.27 kB / 0.8897 GB, free: 51.75 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.9561/2.176, allocations: 268.2 MB / 1.152 GB, free: 68.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.555e-06/2.177, allocations: 0 / 1.152 GB, free: 68.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001167/2.177, allocations: 51.91 kB / 1.152 GB, free: 68.14 MB / 0.5886 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 0.004742/2.181, allocations: 2.178 MB / 1.154 GB, free: 65.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/2.181, allocations: 12.03 kB / 1.154 GB, free: 65.88 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/2.182, allocations: 190.5 kB / 1.154 GB, free: 65.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006813/2.182, allocations: 238.9 kB / 1.154 GB, free: 65.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/2.184, allocations: 0.938 MB / 1.155 GB, free: 64.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/2.184, allocations: 94.62 kB / 1.155 GB, free: 64.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/2.184, allocations: 139.9 kB / 1.155 GB, free: 64.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/2.187, allocations: 1.362 MB / 1.157 GB, free: 62.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/2.187, allocations: 0 / 1.157 GB, free: 62.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/2.187, allocations: 52 kB / 1.157 GB, free: 62.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/2.187, allocations: 36 kB / 1.157 GB, free: 62.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/2.189, allocations: 1.599 MB / 1.158 GB, free: 61.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006526/2.196, allocations: 6.354 MB / 1.164 GB, free: 54.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/2.197, allocations: 1.544 MB / 1.166 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004785/2.202, allocations: 4.281 MB / 1.17 GB, free: 47.83 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/2.203, allocations: 0.7316 MB / 1.171 GB, free: 47.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=148): time 4.308e-06/2.203, allocations: 7.938 kB / 1.171 GB, free: 47.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.004019/2.207, allocations: 2.558 MB / 1.173 GB, free: 44.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/2.208, allocations: 72.72 kB / 1.173 GB, free: 44.32 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:17:3-18:61: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.001432/2.209, allocations: 1.107 MB / 1.175 GB, free: 43.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/2.209, allocations: 53.7 kB / 1.175 GB, free: 43.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/2.209, allocations: 0.626 MB / 1.175 GB, free: 42.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/2.21, allocations: 0.4889 MB / 1.176 GB, free: 42.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/2.21, allocations: 28 kB / 1.176 GB, free: 41.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/2.21, allocations: 353.9 kB / 1.176 GB, free: 41.63 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/2.211, allocations: 0.5232 MB / 1.177 GB, free: 41.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008717/2.212, allocations: 0.6861 MB / 1.177 GB, free: 40.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/2.213, allocations: 0.6133 MB / 1.178 GB, free: 39.76 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/2.213, allocations: 7.938 kB / 1.178 GB, free: 39.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002721/2.215, allocations: 1.655 MB / 1.179 GB, free: 38.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/2.215, allocations: 33.3 kB / 1.179 GB, free: 38.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/2.215, allocations: 4 kB / 1.179 GB, free: 38.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/2.216, allocations: 109.7 kB / 1.18 GB, free: 37.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/2.217, allocations: 291.6 kB / 1.18 GB, free: 37.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/2.219, allocations: 3.026 MB / 1.183 GB, free: 34.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/2.22, allocations: 158.8 kB / 1.183 GB, free: 34.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/2.22, allocations: 63.95 kB / 1.183 GB, free: 34.12 MB / 0.5886 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 () * Number of clocked 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.0008213/2.221, allocations: 385.2 kB / 1.183 GB, free: 33.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/2.221, allocations: 154 kB / 1.184 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/2.225, allocations: 2.09 MB / 1.186 GB, free: 31.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/2.225, allocations: 23.98 kB / 1.186 GB, free: 31.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/2.225, allocations: 4 kB / 1.186 GB, free: 31.47 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/2.225, allocations: 7.969 kB / 1.186 GB, free: 31.46 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/2.23, allocations: 3.628 MB / 1.189 GB, free: 27.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/2.23, allocations: 0 / 1.189 GB, free: 27.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/2.231, allocations: 287.5 kB / 1.189 GB, free: 27.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/2.232, allocations: 117.6 kB / 1.19 GB, free: 27.37 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.243e-05/2.232, allocations: 51.95 kB / 1.19 GB, free: 27.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/2.234, allocations: 3.034 MB / 1.193 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.234, allocations: 0 / 1.193 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/2.237, allocations: 2.596 MB / 1.195 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009085/2.238, allocations: 0.5024 MB / 1.196 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/2.238, allocations: 32 kB / 1.196 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/2.239, allocations: 83.8 kB / 1.196 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/2.239, allocations: 129.8 kB / 1.196 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.836e-05/2.24, allocations: 55.97 kB / 1.196 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00108/2.241, allocations: 0.8633 MB / 1.197 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/2.241, allocations: 4 kB / 1.197 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001881/2.243, allocations: 0.6433 MB / 1.197 GB, free: 19.05 MB / 0.5886 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 154 * 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.005576/2.248, allocations: 4.312 MB / 1.202 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002674/2.251, allocations: 1.74 MB / 1.203 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/2.251, allocations: 4.25 kB / 1.203 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/2.252, allocations: 1.067 MB / 1.204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/2.254, allocations: 408.6 kB / 1.205 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/2.261, allocations: 6.634 MB / 1.211 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/2.262, allocations: 1.309 MB / 1.212 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001286/2.263, allocations: 345.9 kB / 1.213 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007417/2.264, allocations: 0.6749 MB / 1.213 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/2.264, allocations: 0 / 1.213 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4268/2.691, allocations: 43.66 MB / 1.256 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/2.691, allocations: 273.6 kB / 1.256 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.247/6.938, allocations: 0 / 1.256 GB, free: 106.7 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat does not exist to compare? outputFormat=mat