Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_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.01038/0.01038, allocations: 173.8 kB / 15.12 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.796/1.796, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001048/0.001048, allocations: 94.84 kB / 269.6 MB, free: 13.34 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.9495/0.9495, allocations: 90.59 MB / 408.4 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 8 kB / 485.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5293, allocations: 66.28 MB / 0.5387 GB, free: 45.63 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.792/1.321, allocations: 355.7 MB / 0.886 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/1.322, allocations: 79.94 kB / 0.8861 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8669/2.189, allocations: 235 MB / 1.116 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.274e-06/2.189, allocations: 0 / 1.116 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001006/2.189, allocations: 40.39 kB / 1.116 GB, free: 104.8 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003161/2.192, allocations: 1.715 MB / 1.117 GB, free: 103 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/2.192, allocations: 8.031 kB / 1.117 GB, free: 103 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/2.192, allocations: 135.1 kB / 1.117 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/2.193, allocations: 175 kB / 1.118 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/2.194, allocations: 0.7294 MB / 1.118 GB, free: 102 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/2.194, allocations: 65.95 kB / 1.118 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/2.194, allocations: 87.91 kB / 1.118 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/2.195, allocations: 0.7804 MB / 1.119 GB, free: 101 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/2.195, allocations: 0 / 1.119 GB, free: 101 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/2.195, allocations: 36 kB / 1.119 GB, free: 101 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/2.195, allocations: 20 kB / 1.119 GB, free: 101 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/2.197, allocations: 0.8277 MB / 1.12 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/2.2, allocations: 3.58 MB / 1.124 GB, free: 96.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/2.202, allocations: 0.8403 MB / 1.124 GB, free: 95.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002436/2.204, allocations: 2.529 MB / 1.127 GB, free: 92.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/2.204, allocations: 39.22 kB / 1.127 GB, free: 92.51 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=81): time 2.144e-06/2.204, allocations: 0 / 1.127 GB, free: 92.51 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.002412/2.206, allocations: 1.528 MB / 1.128 GB, free: 90.89 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/2.207, allocations: 60.06 kB / 1.128 GB, free: 90.82 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:24:3-25: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/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:14:3-15: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.001322/2.208, allocations: 1.007 MB / 1.129 GB, free: 89.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/2.208, allocations: 41.7 kB / 1.129 GB, free: 89.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/2.208, allocations: 0.4965 MB / 1.13 GB, free: 89.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/2.208, allocations: 274.2 kB / 1.13 GB, free: 88.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/2.208, allocations: 19.94 kB / 1.13 GB, free: 88.96 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/2.208, allocations: 337.9 kB / 1.131 GB, free: 88.63 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/2.209, allocations: 281.9 kB / 1.131 GB, free: 88.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/2.209, allocations: 352 kB / 1.131 GB, free: 87.99 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/2.21, allocations: 314.9 kB / 1.131 GB, free: 87.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/2.21, allocations: 4 kB / 1.131 GB, free: 87.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001461/2.211, allocations: 0.9351 MB / 1.132 GB, free: 86.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/2.211, allocations: 8 kB / 1.132 GB, free: 86.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/2.211, allocations: 0 / 1.132 GB, free: 86.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/2.212, allocations: 101.8 kB / 1.132 GB, free: 86.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/2.212, allocations: 147.8 kB / 1.133 GB, free: 86.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/2.214, allocations: 3.018 MB / 1.136 GB, free: 83.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/2.215, allocations: 79.36 kB / 1.136 GB, free: 83.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/2.215, allocations: 35.97 kB / 1.136 GB, free: 83.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006463/2.216, allocations: 313.4 kB / 1.136 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/2.216, allocations: 118.5 kB / 1.136 GB, free: 82.65 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/2.218, allocations: 1.093 MB / 1.137 GB, free: 81.54 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/2.218, allocations: 11.95 kB / 1.137 GB, free: 81.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/2.218, allocations: 7.984 kB / 1.137 GB, free: 81.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/2.218, allocations: 7.922 kB / 1.137 GB, free: 81.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/2.221, allocations: 2.145 MB / 1.139 GB, free: 79.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/2.221, allocations: 4 kB / 1.139 GB, free: 79.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/2.221, allocations: 131.8 kB / 1.139 GB, free: 79.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/2.222, allocations: 105.6 kB / 1.14 GB, free: 79.08 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/2.222, allocations: 32.03 kB / 1.14 GB, free: 79.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/2.224, allocations: 3.003 MB / 1.142 GB, free: 75.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.224, allocations: 0 / 1.142 GB, free: 75.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/2.226, allocations: 1.461 MB / 1.144 GB, free: 74.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/2.226, allocations: 355.2 kB / 1.144 GB, free: 73.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/2.226, allocations: 20.62 kB / 1.144 GB, free: 73.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/2.227, allocations: 47.88 kB / 1.144 GB, free: 73.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/2.227, allocations: 64.86 kB / 1.144 GB, free: 73.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/2.227, allocations: 31.97 kB / 1.144 GB, free: 73.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009697/2.228, allocations: 0.7934 MB / 1.145 GB, free: 72.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/2.228, allocations: 0 / 1.145 GB, free: 72.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001349/2.229, allocations: 463.2 kB / 1.146 GB, free: 72.49 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.003859/2.233, allocations: 3.086 MB / 1.149 GB, free: 69.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001592/2.235, allocations: 1.044 MB / 1.15 GB, free: 68.49 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.235, allocations: 0 / 1.15 GB, free: 68.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007979/2.236, allocations: 0.732 MB / 1.15 GB, free: 67.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/2.237, allocations: 292.7 kB / 1.151 GB, free: 67.44 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/2.243, allocations: 4.03 MB / 1.155 GB, free: 63.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/2.243, allocations: 1.151 MB / 1.156 GB, free: 62.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008077/2.244, allocations: 190.8 kB / 1.156 GB, free: 61.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/2.245, allocations: 451.2 kB / 1.156 GB, free: 61.51 MB / 0.5886 GB Notification: Performance of SimCode: time 1.884e-06/2.245, allocations: 0 / 1.156 GB, free: 61.51 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/2.297, allocations: 32.69 MB / 1.188 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/2.298, allocations: 258.3 kB / 1.188 GB, free: 28.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.758/6.056, allocations: 0 / 1.188 GB, free: 28.57 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat does not exist to compare? outputFormat=mat