Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.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.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",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.007454/0.007454, allocations: 167.8 kB / 15.13 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.634/1.634, 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.0008293/0.0008293, allocations: 90.28 kB / 269.6 MB, free: 13.33 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.749/0.749, allocations: 90.6 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004648, allocations: 8 kB / 485.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3994, allocations: 66.28 MB / 0.5387 GB, free: 45.51 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.1832/0.5826, allocations: 173 MB / 0.7076 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.6013, allocations: 16.46 MB / 0.7237 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.6034, allocations: 27.88 kB / 0.7237 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.6057, allocations: 0.804 MB / 0.7245 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.6116, allocations: 2.048 MB / 0.7265 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.6156, allocations: 1.328 MB / 0.7278 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005157/0.6208, allocations: 3.67 MB / 0.7314 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008754/0.6217, allocations: 336.4 kB / 0.7317 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.6246, allocations: 1.171 MB / 0.7328 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.6265, allocations: 1.37 MB / 0.7342 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.6267, allocations: 76 kB / 0.7342 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.6316, allocations: 2.203 MB / 0.7364 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.6319, allocations: 322.5 kB / 0.7367 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.6325, allocations: 364.8 kB / 0.7371 GB, free: 308 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.6354, allocations: 1.991 MB / 0.739 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6354, allocations: 0 / 0.739 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6354, allocations: 0 / 0.739 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.6354, allocations: 0 / 0.739 GB, free: 14.3 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003741/0.6392, allocations: 2 MB / 0.741 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6392, allocations: 8.031 kB / 0.741 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002851/0.6395, allocations: 208.8 kB / 0.7412 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/0.64, allocations: 213.7 kB / 0.7414 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.6412, allocations: 0.822 MB / 0.7422 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/0.6413, allocations: 110.8 kB / 0.7423 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.6415, allocations: 147.9 kB / 0.7424 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.644, allocations: 1.627 MB / 0.744 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.644, allocations: 3.938 kB / 0.744 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.6441, allocations: 64 kB / 0.7441 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.6442, allocations: 36 kB / 0.7441 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.6465, allocations: 1.508 MB / 0.7456 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2684/0.915, allocations: 7.166 MB / 0.7526 GB, free: 178.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.918, allocations: 1.665 MB / 0.7542 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.9191, allocations: 0.7924 MB / 0.755 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00533/0.9245, allocations: 5.992 MB / 0.7608 GB, free: 174 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.9245, allocations: 57.62 kB / 0.7609 GB, free: 174 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 3.497e-06/0.9245, allocations: 0 / 0.7609 GB, free: 174 MB / 0.5573 GB Notification: Performance of matching and sorting (n=172): time 0.006064/0.9306, allocations: 3.231 MB / 0.764 GB, free: 172.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.9307, allocations: 188.8 kB / 0.7642 GB, free: 172.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.9316, allocations: 0.8639 MB / 0.7651 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.9317, allocations: 59.89 kB / 0.7651 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.932, allocations: 0.6278 MB / 0.7657 GB, free: 172 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.9323, allocations: 0.5858 MB / 0.7663 GB, free: 171.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.9324, allocations: 37.84 kB / 0.7663 GB, free: 171.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.9325, allocations: 369.3 kB / 0.7667 GB, free: 171.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008489/0.9334, allocations: 0.5192 MB / 0.7672 GB, free: 171 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/0.9344, allocations: 0.8674 MB / 0.768 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.9353, allocations: 0.6437 MB / 0.7687 GB, free: 170.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.9353, allocations: 5.766 kB / 0.7687 GB, free: 170.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002933/0.9383, allocations: 1.88 MB / 0.7705 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.9383, allocations: 11.5 kB / 0.7705 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.9384, allocations: 8.344 kB / 0.7705 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.939, allocations: 213.9 kB / 0.7707 GB, free: 169.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.9404, allocations: 386.2 kB / 0.7711 GB, free: 169.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.9447, allocations: 7.134 MB / 0.7781 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.9459, allocations: 186.1 kB / 0.7782 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.9461, allocations: 78.47 kB / 0.7783 GB, free: 162.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000594/0.9467, allocations: 316.3 kB / 0.7786 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.947, allocations: 147.9 kB / 0.7788 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.951, allocations: 2.097 MB / 0.7808 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.951, allocations: 22.53 kB / 0.7808 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.951, allocations: 4.469 kB / 0.7808 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/0.9511, allocations: 12.58 kB / 0.7808 GB, free: 160.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007217/0.9583, allocations: 3.97 MB / 0.7847 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.9583, allocations: 2.375 kB / 0.7847 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.9594, allocations: 280.3 kB / 0.785 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.9612, allocations: 456.1 kB / 0.7854 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.9614, allocations: 60 kB / 0.7855 GB, free: 158.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/0.967, allocations: 9.416 MB / 0.7947 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.967, allocations: 5.312 kB / 0.7947 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/0.9722, allocations: 3.015 MB / 0.7976 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005035/0.9727, allocations: 229.4 kB / 0.7979 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.9729, allocations: 44.61 kB / 0.7979 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.9741, allocations: 103.5 kB / 0.798 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003326/0.9744, allocations: 148.1 kB / 0.7981 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.9746, allocations: 72.14 kB / 0.7982 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007929/0.9754, allocations: 0.5796 MB / 0.7988 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9754, allocations: 0 / 0.7988 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002426/0.9778, allocations: 0.7634 MB / 0.7995 GB, free: 147.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.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 (151): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006054/0.9839, allocations: 4.23 MB / 0.8036 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003653/0.9876, allocations: 2.084 MB / 0.8057 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.9876, allocations: 5.469 kB / 0.8057 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.9902, allocations: 1.51 MB / 0.8072 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/0.9931, allocations: 492 kB / 0.8076 GB, free: 143 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.009, allocations: 9.946 MB / 0.8173 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/1.01, allocations: 1.242 MB / 0.8186 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001564/1.012, allocations: 315.8 kB / 0.8189 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/1.013, allocations: 0.6363 MB / 0.8195 GB, free: 136 MB / 0.5573 GB Notification: Performance of SimCode: time 8.11e-07/1.013, allocations: 0 / 0.8195 GB, free: 136 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06758/1.08, allocations: 46.05 MB / 0.8644 GB, free: 95.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/1.08, allocations: 222.5 kB / 0.8647 GB, free: 95.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/4.734, allocations: 0 / 0.8647 GB, free: 95.54 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat does not exist to compare? outputFormat=mat