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.001576/0.001576, allocations: 180.9 kB / 7.651 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.556/1.556, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008723/0.0008724, allocations: 90.36 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.663/0.663, allocations: 90.37 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.552e-05, allocations: 0 / 472.3 MB, free: 3.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3371, allocations: 66.25 MB / 0.5259 GB, free: 28.96 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6244/0.9616, allocations: 358.6 MB / 0.8761 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.9619, allocations: 88.02 kB / 0.8762 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8021/1.764, allocations: 265.7 MB / 1.136 GB, free: 1.379 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.143e-06/1.764, allocations: 0 / 1.136 GB, free: 1.379 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001751/1.764, allocations: 51.97 kB / 1.136 GB, free: 1.328 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.3215/2.086, allocations: 1.982 MB / 1.138 GB, free: 95.82 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/2.086, allocations: 11.44 kB / 1.138 GB, free: 95.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/2.087, allocations: 234 kB / 1.138 GB, free: 95.72 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/2.089, allocations: 0.9198 MB / 1.139 GB, free: 95.43 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/2.089, allocations: 46.66 kB / 1.139 GB, free: 95.43 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/2.089, allocations: 77.38 kB / 1.139 GB, free: 95.43 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002271/2.091, allocations: 1.445 MB / 1.14 GB, free: 95.43 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/2.093, allocations: 1.127 MB / 1.141 GB, free: 95.35 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/2.093, allocations: 0 / 1.141 GB, free: 95.35 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/2.093, allocations: 7.797 kB / 1.141 GB, free: 95.35 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/2.094, allocations: 32.5 kB / 1.141 GB, free: 95.35 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007059/2.101, allocations: 6.131 MB / 1.147 GB, free: 91.95 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/2.102, allocations: 1.396 MB / 1.149 GB, free: 91.92 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/2.103, allocations: 0.6514 MB / 1.149 GB, free: 91.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004664/2.108, allocations: 4.372 MB / 1.154 GB, free: 89.25 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009248/2.109, allocations: 0.6407 MB / 1.154 GB, free: 89.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=148): time 3.165e-06/2.109, allocations: 0 / 1.154 GB, free: 89.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=148): time 0.004288/2.113, allocations: 1.626 MB / 1.156 GB, free: 89.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/2.113, allocations: 66.97 kB / 1.156 GB, free: 88.98 MB / 0.573 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.001316/2.115, allocations: 1.013 MB / 1.157 GB, free: 88.83 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/2.115, allocations: 25.7 kB / 1.157 GB, free: 88.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/2.115, allocations: 0.634 MB / 1.158 GB, free: 88.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/2.115, allocations: 481.4 kB / 1.158 GB, free: 88.34 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/2.115, allocations: 0 / 1.158 GB, free: 88.34 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/2.116, allocations: 360.2 kB / 1.158 GB, free: 88.04 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/2.116, allocations: 455.7 kB / 1.159 GB, free: 88.03 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/2.117, allocations: 0.6051 MB / 1.159 GB, free: 87.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/2.12, allocations: 0.8199 MB / 1.16 GB, free: 87.89 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/2.12, allocations: 1.219 kB / 1.16 GB, free: 87.89 MB / 0.573 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00484/2.125, allocations: 1.731 MB / 1.162 GB, free: 87.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/2.125, allocations: 32.05 kB / 1.162 GB, free: 87.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/2.125, allocations: 3.344 kB / 1.162 GB, free: 87.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/2.126, allocations: 109.7 kB / 1.162 GB, free: 87.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/2.127, allocations: 286.9 kB / 1.162 GB, free: 87.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/2.129, allocations: 2.896 MB / 1.165 GB, free: 85.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/2.13, allocations: 122.3 kB / 1.165 GB, free: 85.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/2.13, allocations: 62.14 kB / 1.165 GB, free: 85.25 MB / 0.573 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 (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.0002139/2.13, allocations: 129.8 kB / 1.165 GB, free: 85.14 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004638/2.135, allocations: 1.631 MB / 1.167 GB, free: 84.98 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/2.135, allocations: 152.9 kB / 1.167 GB, free: 84.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00544/2.141, allocations: 2.088 MB / 1.169 GB, free: 84.74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/2.141, allocations: 27.64 kB / 1.169 GB, free: 84.74 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/2.141, allocations: 0 / 1.169 GB, free: 84.74 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/2.141, allocations: 8.297 kB / 1.169 GB, free: 84.74 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007698/2.148, allocations: 3.46 MB / 1.173 GB, free: 84.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/2.148, allocations: 5.125 kB / 1.173 GB, free: 84.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/2.149, allocations: 284.4 kB / 1.173 GB, free: 84.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003658/2.15, allocations: 106.9 kB / 1.173 GB, free: 84.34 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/2.15, allocations: 35.88 kB / 1.173 GB, free: 84.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/2.152, allocations: 2.913 MB / 1.176 GB, free: 81.94 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.152, allocations: 2.594 kB / 1.176 GB, free: 81.94 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/2.158, allocations: 2.542 MB / 1.178 GB, free: 81.59 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/2.159, allocations: 0.4971 MB / 1.179 GB, free: 81.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/2.159, allocations: 6.266 kB / 1.179 GB, free: 81.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/2.16, allocations: 66.28 kB / 1.179 GB, free: 81.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/2.16, allocations: 125.7 kB / 1.179 GB, free: 81.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/2.161, allocations: 60.05 kB / 1.179 GB, free: 81.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001669/2.162, allocations: 0.7656 MB / 1.18 GB, free: 81.29 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/2.162, allocations: 0 / 1.18 GB, free: 81.29 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002658/2.165, allocations: 0.5932 MB / 1.18 GB, free: 81.27 MB / 0.573 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) * 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.007813/2.173, allocations: 4.204 MB / 1.185 GB, free: 80.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002415/2.175, allocations: 1.559 MB / 1.186 GB, free: 79.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/2.175, allocations: 0 / 1.186 GB, free: 79.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/2.177, allocations: 0.9662 MB / 1.187 GB, free: 79.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/2.179, allocations: 375.4 kB / 1.187 GB, free: 79.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/2.185, allocations: 2.58 MB / 1.19 GB, free: 78.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008247/2.186, allocations: 1.322 MB / 1.191 GB, free: 78.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001345/2.187, allocations: 342.6 kB / 1.192 GB, free: 78.19 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/2.188, allocations: 0.6593 MB / 1.192 GB, free: 78.18 MB / 0.573 GB Notification: Performance of SimCode: time 5.11e-07/2.188, allocations: 0 / 1.192 GB, free: 78.18 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06582/2.254, allocations: 38.89 MB / 1.23 GB, free: 76.41 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/2.254, allocations: 203.4 kB / 1.23 GB, free: 76.12 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.419/5.673, allocations: 0 / 1.23 GB, free: 76.12 MB / 0.573 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