Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_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.01028/0.01028, allocations: 172 kB / 15.11 MB, free: 5.973 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.729/1.729, allocations: 205.4 MB / 221.3 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.001032/0.001032, allocations: 94.86 kB / 269.6 MB, free: 13.36 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.9275/0.9275, 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.0004917/0.000492, allocations: 12 kB / 485.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.493, allocations: 66.27 MB / 0.5387 GB, free: 45.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7347/1.228, allocations: 357.8 MB / 0.8881 GB, free: 53.35 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.228, allocations: 90.7 kB / 0.8882 GB, free: 53.3 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/2.759, allocations: 391.2 MB / 1.27 GB, free: 81.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.166e-06/2.759, allocations: 1.188 kB / 1.27 GB, free: 81.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001785/2.759, allocations: 65.25 kB / 1.27 GB, free: 81.61 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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.008348/2.767, allocations: 2.61 MB / 1.273 GB, free: 80.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/2.767, allocations: 13.84 kB / 1.273 GB, free: 80.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007788/2.768, allocations: 266.6 kB / 1.273 GB, free: 80.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/2.769, allocations: 293.9 kB / 1.273 GB, free: 80.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/2.772, allocations: 1.069 MB / 1.274 GB, free: 79.92 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/2.772, allocations: 142.6 kB / 1.275 GB, free: 79.92 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/2.772, allocations: 199.4 kB / 1.275 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/2.776, allocations: 1.939 MB / 1.277 GB, free: 79.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/2.776, allocations: 6.312 kB / 1.277 GB, free: 79.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/2.776, allocations: 79.98 kB / 1.277 GB, free: 79.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/2.776, allocations: 46.69 kB / 1.277 GB, free: 79.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/2.78, allocations: 2.305 MB / 1.279 GB, free: 79.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009588/2.789, allocations: 9.004 MB / 1.288 GB, free: 74.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/2.792, allocations: 2.274 MB / 1.29 GB, free: 74.65 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007041/2.799, allocations: 5.954 MB / 1.296 GB, free: 71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/2.801, allocations: 1.049 MB / 1.297 GB, free: 70.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 5.841e-06/2.801, allocations: 7.547 kB / 1.297 GB, free: 70.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=216): time 0.005864/2.807, allocations: 3.71 MB / 1.3 GB, free: 69.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/2.807, allocations: 78.16 kB / 1.301 GB, free: 69.79 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29: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/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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/Undirected/FlowControl/BasicControlValve.mo:28:3-29: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/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.001212/2.808, allocations: 0.8173 MB / 1.301 GB, free: 69.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/2.808, allocations: 61.67 kB / 1.301 GB, free: 69.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/2.809, allocations: 0.7427 MB / 1.302 GB, free: 69.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/2.809, allocations: 0.7124 MB / 1.303 GB, free: 68.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/2.809, allocations: 39.22 kB / 1.303 GB, free: 68.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001142/2.81, allocations: 382.4 kB / 1.303 GB, free: 68.53 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/2.811, allocations: 0.7416 MB / 1.304 GB, free: 68.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/2.812, allocations: 0.9411 MB / 1.305 GB, free: 68.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/2.813, allocations: 0.8696 MB / 1.306 GB, free: 68.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/2.813, allocations: 0 / 1.306 GB, free: 68.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00436/2.818, allocations: 2.301 MB / 1.308 GB, free: 68.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.838e-05/2.818, allocations: 36.86 kB / 1.308 GB, free: 68.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/2.818, allocations: 3.938 kB / 1.308 GB, free: 68.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/2.819, allocations: 160.1 kB / 1.308 GB, free: 68.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/2.82, allocations: 399.5 kB / 1.309 GB, free: 68.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/2.824, allocations: 4.55 MB / 1.313 GB, free: 64.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/2.827, allocations: 203.7 kB / 1.313 GB, free: 64.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/2.827, allocations: 85.36 kB / 1.313 GB, free: 64.19 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 (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.001231/2.828, allocations: 342.6 kB / 1.314 GB, free: 64.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004981/2.829, allocations: 163.3 kB / 1.314 GB, free: 63.99 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/2.834, allocations: 2.977 MB / 1.317 GB, free: 63.74 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/2.834, allocations: 37.06 kB / 1.317 GB, free: 63.74 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/2.834, allocations: 0 / 1.317 GB, free: 63.74 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/2.834, allocations: 20.73 kB / 1.317 GB, free: 63.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007307/2.842, allocations: 4.929 MB / 1.322 GB, free: 63.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/2.842, allocations: 3.062 kB / 1.322 GB, free: 63.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/2.843, allocations: 413.3 kB / 1.322 GB, free: 63.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/2.844, allocations: 161.3 kB / 1.322 GB, free: 63.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/2.844, allocations: 77.72 kB / 1.322 GB, free: 63.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/2.847, allocations: 4.539 MB / 1.327 GB, free: 59.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/2.847, allocations: 1.875 kB / 1.327 GB, free: 59.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/2.853, allocations: 3.647 MB / 1.33 GB, free: 59.01 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/2.854, allocations: 0.5393 MB / 1.331 GB, free: 58.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/2.854, allocations: 49.92 kB / 1.331 GB, free: 58.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/2.856, allocations: 123.6 kB / 1.331 GB, free: 58.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000335/2.856, allocations: 178 kB / 1.331 GB, free: 58.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/2.856, allocations: 86.95 kB / 1.331 GB, free: 58.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001012/2.857, allocations: 0.6217 MB / 1.332 GB, free: 58.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.61e-07/2.857, allocations: 2.375 kB / 1.332 GB, free: 58.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003569/2.861, allocations: 0.8963 MB / 1.333 GB, free: 58.54 MB / 0.5886 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) * Number of clocked states: 0 () * 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.00834/2.869, allocations: 5.611 MB / 1.338 GB, free: 56.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003986/2.873, allocations: 2.489 MB / 1.34 GB, free: 55.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.873, allocations: 3.938 kB / 1.34 GB, free: 55.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002055/2.875, allocations: 1.548 MB / 1.342 GB, free: 54.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/2.878, allocations: 0.5287 MB / 1.342 GB, free: 54.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/2.889, allocations: 7.631 MB / 1.35 GB, free: 49.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/2.89, allocations: 1.427 MB / 1.351 GB, free: 48.56 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002176/2.892, allocations: 423.8 kB / 1.352 GB, free: 48.45 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/2.894, allocations: 0.8469 MB / 1.353 GB, free: 47.83 MB / 0.5886 GB Notification: Performance of SimCode: time 1.373e-06/2.894, allocations: 1.5 kB / 1.353 GB, free: 47.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09658/2.99, allocations: 57.86 MB / 1.409 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/2.99, allocations: 246.6 kB / 1.409 GB, free: 24.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.741/7.731, allocations: 0 / 1.409 GB, free: 24.93 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat does not exist to compare? outputFormat=mat