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.001105/0.001105, 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.454/1.454, 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.0009316/0.0009314, allocations: 89.75 kB / 261.4 MB, free: 13.46 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.7996/0.7996, allocations: 90.37 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.044e-05, allocations: 3.938 kB / 472.3 MB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3807, allocations: 66.26 MB / 0.5259 GB, free: 29.01 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7396/1.12, allocations: 357 MB / 0.8746 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.121, allocations: 85.95 kB / 0.8747 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.632/2.753, allocations: 387.6 MB / 1.253 GB, free: 100 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.954e-06/2.753, allocations: 1.812 kB / 1.253 GB, free: 100 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000234/2.753, allocations: 66.67 kB / 1.253 GB, free: 99.98 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.007983/2.761, allocations: 2.433 MB / 1.256 GB, free: 98.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/2.761, allocations: 7.875 kB / 1.256 GB, free: 98.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/2.763, allocations: 294.3 kB / 1.256 GB, free: 98.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/2.765, allocations: 1.061 MB / 1.257 GB, free: 97.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/2.765, allocations: 60.88 kB / 1.257 GB, free: 97.81 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/2.765, allocations: 115.8 kB / 1.257 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003077/2.768, allocations: 2.092 MB / 1.259 GB, free: 97.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/2.771, allocations: 1.617 MB / 1.261 GB, free: 96.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/2.771, allocations: 6.016 kB / 1.261 GB, free: 96.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/2.771, allocations: 0 / 1.261 GB, free: 96.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/2.771, allocations: 56.28 kB / 1.261 GB, free: 96.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009994/2.781, allocations: 8.7 MB / 1.269 GB, free: 88.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/2.784, allocations: 2.095 MB / 1.271 GB, free: 87.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/2.785, allocations: 0.955 MB / 1.272 GB, free: 87.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007347/2.792, allocations: 6.055 MB / 1.278 GB, free: 81.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/2.794, allocations: 0.9343 MB / 1.279 GB, free: 81.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 4.338e-06/2.794, allocations: 6.062 kB / 1.279 GB, free: 81.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=216): time 0.007033/2.801, allocations: 2.34 MB / 1.281 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/2.801, allocations: 81.33 kB / 1.282 GB, free: 79.84 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.001101/2.802, allocations: 0.7195 MB / 1.282 GB, free: 79.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/2.802, allocations: 25.7 kB / 1.282 GB, free: 79.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006282/2.803, allocations: 0.739 MB / 1.283 GB, free: 78.77 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005294/2.803, allocations: 0.6906 MB / 1.284 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/2.803, allocations: 2.969 kB / 1.284 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001572/2.804, allocations: 371.5 kB / 1.284 GB, free: 77.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009406/2.804, allocations: 0.6553 MB / 1.285 GB, free: 77.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/2.806, allocations: 0.8385 MB / 1.285 GB, free: 76.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004569/2.81, allocations: 1.196 MB / 1.287 GB, free: 76.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/2.81, allocations: 3.938 kB / 1.287 GB, free: 76.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.006833/2.817, allocations: 2.487 MB / 1.289 GB, free: 75.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/2.817, allocations: 39.77 kB / 1.289 GB, free: 75.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/2.817, allocations: 3.875 kB / 1.289 GB, free: 75.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/2.818, allocations: 157 kB / 1.289 GB, free: 75.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/2.819, allocations: 396 kB / 1.29 GB, free: 74.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/2.822, allocations: 4.348 MB / 1.294 GB, free: 70.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/2.824, allocations: 160.5 kB / 1.294 GB, free: 70.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/2.824, allocations: 86.03 kB / 1.294 GB, free: 70.61 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 () * 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.000328/2.824, allocations: 133.5 kB / 1.294 GB, free: 70.48 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007007/2.831, allocations: 2.362 MB / 1.297 GB, free: 68.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/2.832, allocations: 162 kB / 1.297 GB, free: 68.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007017/2.839, allocations: 2.992 MB / 1.3 GB, free: 65.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/2.839, allocations: 28 kB / 1.3 GB, free: 65.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/2.839, allocations: 4 kB / 1.3 GB, free: 65.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/2.839, allocations: 11.95 kB / 1.3 GB, free: 65.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009108/2.848, allocations: 4.75 MB / 1.304 GB, free: 60.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/2.848, allocations: 3.953 kB / 1.304 GB, free: 60.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/2.849, allocations: 415.4 kB / 1.305 GB, free: 59.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/2.85, allocations: 166.8 kB / 1.305 GB, free: 59.79 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/2.85, allocations: 51.94 kB / 1.305 GB, free: 59.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/2.853, allocations: 4.333 MB / 1.309 GB, free: 55.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.853, allocations: 7.781 kB / 1.309 GB, free: 55.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/2.86, allocations: 3.632 MB / 1.313 GB, free: 51.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/2.861, allocations: 0.5294 MB / 1.313 GB, free: 50.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/2.862, allocations: 4 kB / 1.313 GB, free: 50.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/2.863, allocations: 86 kB / 1.313 GB, free: 50.76 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/2.863, allocations: 185.5 kB / 1.313 GB, free: 50.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/2.863, allocations: 87.94 kB / 1.314 GB, free: 50.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006751/2.864, allocations: 0.5322 MB / 1.314 GB, free: 49.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/2.864, allocations: 0 / 1.314 GB, free: 49.96 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002493/2.866, allocations: 0.8302 MB / 1.315 GB, free: 49.12 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) * 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.008904/2.875, allocations: 5.56 MB / 1.32 GB, free: 43.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003145/2.878, allocations: 2.247 MB / 1.322 GB, free: 41.45 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/2.878, allocations: 0 / 1.322 GB, free: 41.45 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/2.88, allocations: 1.428 MB / 1.324 GB, free: 39.99 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/2.883, allocations: 492.8 kB / 1.324 GB, free: 39.54 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/2.889, allocations: 2.963 MB / 1.327 GB, free: 36.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/2.89, allocations: 1.431 MB / 1.329 GB, free: 35.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001574/2.891, allocations: 417.9 kB / 1.329 GB, free: 34.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009675/2.892, allocations: 0.8351 MB / 1.33 GB, free: 33.85 MB / 0.5886 GB Notification: Performance of SimCode: time 1.203e-06/2.892, allocations: 0 / 1.33 GB, free: 33.85 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5183/3.41, allocations: 51.67 MB / 1.38 GB, free: 91.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/3.411, allocations: 181.4 kB / 1.38 GB, free: 91.26 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.801/7.211, allocations: 0 / 1.38 GB, free: 91.26 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