Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8045/0.8045, allocations: 89.64 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 13 kB / 460 MB, free: 24.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2044, allocations: 68.84 MB / 0.5165 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.6025/0.807, allocations: 139.4 MB / 0.6526 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.8205, allocations: 10.78 MB / 0.6632 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.822, allocations: 24.12 kB / 0.6632 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.8236, allocations: 0.4917 MB / 0.6637 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.8265, allocations: 0.8285 MB / 0.6645 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.8286, allocations: 0.6332 MB / 0.6651 GB, free: 96 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.8304, allocations: 0.845 MB / 0.6659 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.8308, allocations: 260.7 kB / 0.6662 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.8317, allocations: 393 kB / 0.6665 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008241/0.8325, allocations: 0.5001 MB / 0.667 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/0.8326, allocations: 36.12 kB / 0.6671 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.8366, allocations: 1.314 MB / 0.6683 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.8368, allocations: 127.4 kB / 0.6685 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.8371, allocations: 197.2 kB / 0.6687 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.8388, allocations: 0.9739 MB / 0.6696 GB, free: 13.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8388, allocations: 0 / 0.6696 GB, free: 13.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.8389, allocations: 0 / 0.6696 GB, free: 13.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.8389, allocations: 0 / 0.6696 GB, free: 13.08 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002384/0.8413, allocations: 1.162 MB / 0.6707 GB, free: 11.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.8413, allocations: 8.031 kB / 0.6707 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.8415, allocations: 114.4 kB / 0.6709 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.8416, allocations: 106.8 kB / 0.671 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.8425, allocations: 0.5297 MB / 0.6715 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.8426, allocations: 50 kB / 0.6715 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.8427, allocations: 72 kB / 0.6716 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.844, allocations: 0.7275 MB / 0.6723 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.844, allocations: 0 / 0.6723 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.8441, allocations: 32 kB / 0.6723 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.8441, allocations: 16 kB / 0.6723 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.8452, allocations: 0.6402 MB / 0.673 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/0.8491, allocations: 3.148 MB / 0.676 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.8504, allocations: 0.576 MB / 0.6766 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/0.8534, allocations: 2.65 MB / 0.6792 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.8535, allocations: 43.08 kB / 0.6792 GB, free: 2.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=55): time 2.384e-06/0.8535, allocations: 0 / 0.6792 GB, free: 2.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=56): time 0.003589/0.8571, allocations: 1.748 MB / 0.6809 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.8571, allocations: 63.97 kB / 0.681 GB, free: 448 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007146/0.8579, allocations: 0.5666 MB / 0.6816 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.8579, allocations: 33.7 kB / 0.6816 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.8582, allocations: 376.3 kB / 0.6819 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.8583, allocations: 193.1 kB / 0.6821 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.8584, allocations: 12 kB / 0.6821 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.8586, allocations: 378.8 kB / 0.6825 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.859, allocations: 173 kB / 0.6827 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.8594, allocations: 235.2 kB / 0.6829 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.8598, allocations: 198.1 kB / 0.6831 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8598, allocations: 0 / 0.6831 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001271/0.8611, allocations: 0.6316 MB / 0.6837 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.8611, allocations: 4.156 kB / 0.6837 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.8612, allocations: 4 kB / 0.6837 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.8616, allocations: 116.6 kB / 0.6838 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.862, allocations: 104.8 kB / 0.6839 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.8644, allocations: 1.932 MB / 0.6858 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.8649, allocations: 40.03 kB / 0.6858 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.865, allocations: 23.98 kB / 0.6859 GB, free: 11.27 MB / 0.4981 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.8654, allocations: 197.7 kB / 0.6861 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.8655, allocations: 71.06 kB / 0.6861 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.8671, allocations: 0.8704 MB / 0.687 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.8671, allocations: 4 kB / 0.687 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8671, allocations: 12 kB / 0.687 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8672, allocations: 3.984 kB / 0.687 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.8698, allocations: 1.528 MB / 0.6885 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8698, allocations: 0 / 0.6885 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.8702, allocations: 91.98 kB / 0.6886 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/0.8706, allocations: 132.4 kB / 0.6887 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.8706, allocations: 19.98 kB / 0.6887 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.8727, allocations: 1.925 MB / 0.6906 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8727, allocations: 4.031 kB / 0.6906 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.8744, allocations: 1.008 MB / 0.6916 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.8746, allocations: 148.3 kB / 0.6917 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.8747, allocations: 19.94 kB / 0.6917 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.8751, allocations: 43.88 kB / 0.6918 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.8752, allocations: 48.48 kB / 0.6918 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.8752, allocations: 16 kB / 0.6919 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005255/0.8758, allocations: 427 kB / 0.6923 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8758, allocations: 4 kB / 0.6923 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000987/0.8768, allocations: 327.8 kB / 0.6926 GB, free: 4.078 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002907/0.8797, allocations: 2.133 MB / 0.6947 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.881, allocations: 0.627 MB / 0.6953 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.881, allocations: 0 / 0.6953 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/0.8819, allocations: 438.1 kB / 0.6957 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8831, allocations: 220.7 kB / 0.6959 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.8905, allocations: 5.053 MB / 0.7008 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.8912, allocations: 0.977 MB / 0.7018 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004996/0.8917, allocations: 133.6 kB / 0.7019 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.8922, allocations: 315.3 kB / 0.7022 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of SimCode: time 1.232e-06/0.8922, allocations: 0 / 0.7022 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/0.938, allocations: 22.39 MB / 0.7241 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.9383, allocations: 209.6 kB / 0.7243 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.465, allocations: 0 / 0.7243 GB, free: 3.625 MB / 0.5294 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat