Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",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.008106/0.008106, allocations: 173.7 kB / 15.12 MB, free: 6.023 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.693/1.693, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0009639/0.000964, allocations: 94.89 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.8584/0.8584, allocations: 90.59 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000391/0.000391, allocations: 8 kB / 485.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4925, allocations: 66.26 MB / 0.5387 GB, free: 45.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1657/0.6583, allocations: 123.2 MB / 0.659 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.6624, allocations: 2.798 MB / 0.6617 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.6629, allocations: 7.938 kB / 0.6617 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.6635, allocations: 171.1 kB / 0.6619 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.6647, allocations: 446.7 kB / 0.6623 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.6657, allocations: 279.3 kB / 0.6626 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.6662, allocations: 447.7 kB / 0.663 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.6665, allocations: 90.81 kB / 0.6631 GB, free: 12.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.6671, allocations: 247.2 kB / 0.6633 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.6674, allocations: 263.1 kB / 0.6636 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.6675, allocations: 20 kB / 0.6636 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.6686, allocations: 0.5461 MB / 0.6641 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.6686, allocations: 61.14 kB / 0.6642 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.979e-05/0.6688, allocations: 105.5 kB / 0.6643 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.6694, allocations: 464.5 kB / 0.6647 GB, free: 10.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6694, allocations: 4 kB / 0.6647 GB, free: 10.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6694, allocations: 0 / 0.6647 GB, free: 10.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.6694, allocations: 0 / 0.6647 GB, free: 10.59 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001473/0.6709, allocations: 0.7163 MB / 0.6654 GB, free: 9.828 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.671, allocations: 12.03 kB / 0.6654 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.754e-05/0.671, allocations: 78.42 kB / 0.6655 GB, free: 9.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.941e-05/0.6712, allocations: 51.44 kB / 0.6656 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.6716, allocations: 302.3 kB / 0.6659 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.6716, allocations: 28.64 kB / 0.6659 GB, free: 9.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.6717, allocations: 36 kB / 0.6659 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.6724, allocations: 404.3 kB / 0.6663 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6724, allocations: 4 kB / 0.6663 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.6724, allocations: 13.5 kB / 0.6663 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.6725, allocations: 11.95 kB / 0.6663 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.6732, allocations: 386.3 kB / 0.6667 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.6754, allocations: 1.89 MB / 0.6685 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/0.6764, allocations: 427.5 kB / 0.669 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002189/0.6786, allocations: 1.646 MB / 0.6706 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/0.6791, allocations: 236.6 kB / 0.6708 GB, free: 3.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 2.805e-06/0.6791, allocations: 0 / 0.6708 GB, free: 3.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.001656/0.6808, allocations: 0.8225 MB / 0.6716 GB, free: 2.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.6808, allocations: 55.41 kB / 0.6716 GB, free: 2.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.6812, allocations: 271 kB / 0.6719 GB, free: 2.621 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.6812, allocations: 29.7 kB / 0.6719 GB, free: 2.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.6814, allocations: 196.2 kB / 0.6721 GB, free: 2.391 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.6815, allocations: 138.1 kB / 0.6722 GB, free: 2.254 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.6816, allocations: 8 kB / 0.6723 GB, free: 2.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6818, allocations: 348.2 kB / 0.6726 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.6821, allocations: 136.8 kB / 0.6727 GB, free: 1.766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.6825, allocations: 201.4 kB / 0.6729 GB, free: 1.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.6828, allocations: 187.1 kB / 0.6731 GB, free: 1.363 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6828, allocations: 8 kB / 0.6731 GB, free: 1.355 MB / 490.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009686/0.6838, allocations: 0.4894 MB / 0.6736 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.6839, allocations: 41.73 kB / 0.6736 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6839, allocations: 3.953 kB / 0.6736 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.6841, allocations: 40.83 kB / 0.6737 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.6844, allocations: 79.83 kB / 0.6737 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.6858, allocations: 1.439 MB / 0.6751 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.6862, allocations: 43.64 kB / 0.6752 GB, free: 15.06 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.6862, allocations: 20 kB / 0.6752 GB, free: 15.04 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.6864, allocations: 153 kB / 0.6753 GB, free: 14.89 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.6865, allocations: 35.61 kB / 0.6754 GB, free: 14.85 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.6878, allocations: 0.5437 MB / 0.6759 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.6878, allocations: 8 kB / 0.6759 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6878, allocations: 4.281 kB / 0.6759 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6878, allocations: 0 / 0.6759 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.6895, allocations: 1.083 MB / 0.677 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6895, allocations: 0 / 0.677 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.6898, allocations: 67.91 kB / 0.677 GB, free: 13.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.69, allocations: 48.75 kB / 0.6771 GB, free: 13.05 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.69, allocations: 19.92 kB / 0.6771 GB, free: 13.03 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.6913, allocations: 1.438 MB / 0.6785 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6913, allocations: 0 / 0.6785 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.6926, allocations: 0.7602 MB / 0.6793 GB, free: 10.67 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.6928, allocations: 116.6 kB / 0.6794 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.6929, allocations: 4 kB / 0.6794 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.6931, allocations: 29.77 kB / 0.6794 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6933, allocations: 47.95 kB / 0.6794 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.6933, allocations: 19.98 kB / 0.6795 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0002095/0.6935, allocations: 190 kB / 0.6796 GB, free: 10.26 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6935, allocations: 0 / 0.6796 GB, free: 10.26 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0006851/0.6942, allocations: 167.5 kB / 0.6798 GB, free: 10.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002073/0.6963, allocations: 1.508 MB / 0.6813 GB, free: 8.551 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.6976, allocations: 0.5452 MB / 0.6818 GB, free: 7.98 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6976, allocations: 0 / 0.6818 GB, free: 7.98 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.6982, allocations: 342.8 kB / 0.6821 GB, free: 7.633 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.699, allocations: 98.94 kB / 0.6822 GB, free: 7.539 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.7035, allocations: 3.015 MB / 0.6852 GB, free: 4.453 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.704, allocations: 0.8079 MB / 0.686 GB, free: 3.617 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.000346/0.7043, allocations: 83.69 kB / 0.686 GB, free: 3.562 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.7045, allocations: 135.4 kB / 0.6862 GB, free: 3.43 MB / 0.4949 GB Notification: Performance of SimCode: time 8.42e-07/0.7045, allocations: 0 / 0.6862 GB, free: 3.43 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.7324, allocations: 11.27 MB / 0.6972 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.7326, allocations: 233.5 kB / 0.6974 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.218, allocations: 3.656 kB / 0.6974 GB, free: 8.207 MB / 0.5105 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat