Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.001751, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009833, allocations: 88.22 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01306/0.01306, allocations: 1.562 MB / 338 MB, free: 8.477 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6613/0.6613, allocations: 90.05 MB / 479.3 MB, free: 2.977 MB / 314.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 4.866e-05/4.886e-05, allocations: 4 kB / 0.5446 GB, free: 7.891 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.192, allocations: 69.36 MB / 0.6123 GB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/1.569, allocations: 439.4 MB / 1.041 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.57, allocations: 76.34 kB / 1.042 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.673/3.243, allocations: 357.3 MB / 1.39 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.435e-06/3.243, allocations: 0 / 1.39 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001256/3.243, allocations: 51.81 kB / 1.391 GB, free: 105.1 MB / 0.6042 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.005023/3.248, allocations: 2.014 MB / 1.392 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/3.248, allocations: 22.39 kB / 1.393 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/3.249, allocations: 205.6 kB / 1.393 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007492/3.249, allocations: 217.2 kB / 1.393 GB, free: 104 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/3.251, allocations: 0.8764 MB / 1.394 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.903e-05/3.251, allocations: 111.9 kB / 1.394 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/3.251, allocations: 152.5 kB / 1.394 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/3.254, allocations: 1.555 MB / 1.396 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/3.254, allocations: 8.562 kB / 1.396 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/3.254, allocations: 58.91 kB / 1.396 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/3.254, allocations: 37.34 kB / 1.396 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/3.256, allocations: 1.403 MB / 1.397 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/3.265, allocations: 7.157 MB / 1.404 GB, free: 99.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/3.268, allocations: 1.697 MB / 1.406 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/3.269, allocations: 0.773 MB / 1.406 GB, free: 99.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004898/3.274, allocations: 4.355 MB / 1.411 GB, free: 96.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/3.274, allocations: 61.55 kB / 1.411 GB, free: 96.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=177): time 4.368e-06/3.274, allocations: 0 / 1.411 GB, free: 96.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=177): time 0.003778/3.277, allocations: 1.785 MB / 1.412 GB, free: 96.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/3.277, allocations: 176.9 kB / 1.413 GB, free: 95.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000958/3.278, allocations: 0.7314 MB / 1.413 GB, free: 95.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/3.279, allocations: 56.52 kB / 1.413 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/3.279, allocations: 0.6216 MB / 1.414 GB, free: 95.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/3.279, allocations: 0.6035 MB / 1.415 GB, free: 94.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/3.279, allocations: 30.62 kB / 1.415 GB, free: 94.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001222/3.28, allocations: 375.9 kB / 1.415 GB, free: 94.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/3.28, allocations: 0.5206 MB / 1.416 GB, free: 94.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/3.281, allocations: 0.8235 MB / 1.416 GB, free: 93.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009559/3.282, allocations: 0.6437 MB / 1.417 GB, free: 93.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/3.282, allocations: 0 / 1.417 GB, free: 93.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003216/3.286, allocations: 1.878 MB / 1.419 GB, free: 92.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/3.286, allocations: 9.469 kB / 1.419 GB, free: 92.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/3.286, allocations: 9.781 kB / 1.419 GB, free: 92.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006979/3.286, allocations: 209.8 kB / 1.419 GB, free: 92.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/3.288, allocations: 389.3 kB / 1.419 GB, free: 92.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/3.292, allocations: 7.091 MB / 1.426 GB, free: 85.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/3.294, allocations: 182.9 kB / 1.426 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/3.294, allocations: 73.94 kB / 1.427 GB, free: 85.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0004165/3.295, allocations: 203.4 kB / 1.427 GB, free: 85.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/3.295, allocations: 155 kB / 1.427 GB, free: 85.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/3.299, allocations: 2.187 MB / 1.429 GB, free: 84.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/3.299, allocations: 23.06 kB / 1.429 GB, free: 84.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/3.299, allocations: 3.844 kB / 1.429 GB, free: 84.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/3.3, allocations: 17.58 kB / 1.429 GB, free: 84.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/3.305, allocations: 3.99 MB / 1.433 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/3.305, allocations: 3.25 kB / 1.433 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/3.307, allocations: 281.2 kB / 1.433 GB, free: 82.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/3.308, allocations: 452.9 kB / 1.434 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/3.308, allocations: 57.12 kB / 1.434 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005529/3.314, allocations: 9.394 MB / 1.443 GB, free: 73.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/3.314, allocations: 3.156 kB / 1.443 GB, free: 73.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/3.319, allocations: 3.166 MB / 1.446 GB, free: 71.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007049/3.319, allocations: 241.8 kB / 1.446 GB, free: 71.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/3.32, allocations: 35.34 kB / 1.446 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/3.321, allocations: 108.3 kB / 1.446 GB, free: 71.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/3.321, allocations: 142.5 kB / 1.446 GB, free: 71.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/3.321, allocations: 70.81 kB / 1.447 GB, free: 71.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007769/3.322, allocations: 0.5636 MB / 1.447 GB, free: 70.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/3.322, allocations: 0 / 1.447 GB, free: 70.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002987/3.325, allocations: 0.8433 MB / 1.448 GB, free: 70.69 MB / 0.6042 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,pCV1.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * 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.006687/3.332, allocations: 5.417 MB / 1.453 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003258/3.335, allocations: 2.194 MB / 1.455 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/3.335, allocations: 3.953 kB / 1.455 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/3.337, allocations: 1.608 MB / 1.457 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/3.34, allocations: 459.4 kB / 1.457 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006242/3.346, allocations: 3.289 MB / 1.461 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/3.347, allocations: 1.279 MB / 1.462 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001255/3.348, allocations: 293.2 kB / 1.462 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007488/3.349, allocations: 0.6423 MB / 1.463 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of SimCode: time 1.633e-06/3.349, allocations: 0 / 1.463 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08751/3.436, allocations: 53.47 MB / 1.515 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/3.437, allocations: 174 kB / 1.515 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.493/7.93, allocations: 4 kB / 1.515 GB, free: 8.875 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat does not exist to compare? outputFormat=mat