Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.000995/0.0009954, allocations: 100.2 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.001176/0.001175, 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.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7307/0.7307, allocations: 89.64 MB / 380.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005584/0.0005587, allocations: 12.22 kB / 460 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2146, allocations: 68.84 MB / 0.5165 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02032/0.2349, allocations: 19.2 MB / 0.5352 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.2454, allocations: 7.798 MB / 0.5428 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009621/0.2464, allocations: 19.88 kB / 0.5429 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.2474, allocations: 334.4 kB / 0.5432 GB, free: 208 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.2496, allocations: 0.7165 MB / 0.5439 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.2508, allocations: 391 kB / 0.5442 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.2519, allocations: 0.7093 MB / 0.5449 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.2523, allocations: 180.6 kB / 0.5451 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.2529, allocations: 330.7 kB / 0.5454 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.2533, allocations: 334.4 kB / 0.5457 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.2534, allocations: 28 kB / 0.5458 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.2549, allocations: 495.6 kB / 0.5462 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.255, allocations: 115.4 kB / 0.5464 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2552, allocations: 173.2 kB / 0.5465 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.2561, allocations: 0.721 MB / 0.5472 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2561, allocations: 0 / 0.5472 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2561, allocations: 0 / 0.5472 GB, free: 12.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2561, allocations: 0 / 0.5472 GB, free: 12.03 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001839/0.258, allocations: 1.032 MB / 0.5482 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.258, allocations: 8.031 kB / 0.5482 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.2581, allocations: 102.5 kB / 0.5483 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.2584, allocations: 94.97 kB / 0.5484 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.259, allocations: 456.5 kB / 0.5489 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.259, allocations: 45.31 kB / 0.5489 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.2591, allocations: 60 kB / 0.549 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.2601, allocations: 0.6652 MB / 0.5496 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2601, allocations: 7.859 kB / 0.5496 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.2602, allocations: 24 kB / 0.5496 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2602, allocations: 12 kB / 0.5497 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.2612, allocations: 0.6297 MB / 0.5503 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.2646, allocations: 3.019 MB / 0.5532 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2656, allocations: 0.6771 MB / 0.5539 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.2676, allocations: 1.932 MB / 0.5558 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2677, allocations: 39.12 kB / 0.5558 GB, free: 2.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.975e-06/0.2677, allocations: 0 / 0.5558 GB, free: 2.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.009265/0.277, allocations: 2.418 MB / 0.5582 GB, free: 120 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.277, allocations: 85.61 kB / 0.5582 GB, free: 16 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.2777, allocations: 478.8 kB / 0.5587 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.2777, allocations: 33.7 kB / 0.5587 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.278, allocations: 324.4 kB / 0.559 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.2782, allocations: 228.7 kB / 0.5593 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.2782, allocations: 16 kB / 0.5593 GB, free: 14.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2784, allocations: 374.8 kB / 0.5596 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.2787, allocations: 205.2 kB / 0.5598 GB, free: 14.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.2791, allocations: 294.8 kB / 0.5601 GB, free: 14.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.2795, allocations: 243.1 kB / 0.5603 GB, free: 13.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2796, allocations: 0 / 0.5603 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004762/0.2843, allocations: 1.354 MB / 0.5617 GB, free: 12.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2844, allocations: 4 kB / 0.5617 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2844, allocations: 4 kB / 0.5617 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/0.2893, allocations: 0.9313 MB / 0.5626 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.2898, allocations: 103.9 kB / 0.5627 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.2921, allocations: 2.85 MB / 0.5655 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.2927, allocations: 67.58 kB / 0.5655 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.2928, allocations: 24 kB / 0.5656 GB, free: 8.266 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.2931, allocations: 203.1 kB / 0.5657 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2932, allocations: 67.14 kB / 0.5658 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/0.2982, allocations: 1.475 MB / 0.5673 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.2983, allocations: 8 kB / 0.5673 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.2983, allocations: 4 kB / 0.5673 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2983, allocations: 3.984 kB / 0.5673 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005864/0.3042, allocations: 2.113 MB / 0.5693 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3042, allocations: 0 / 0.5693 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.3045, allocations: 75.97 kB / 0.5694 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/0.3092, allocations: 0.9235 MB / 0.5703 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.3093, allocations: 19.98 kB / 0.5703 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.3117, allocations: 2.85 MB / 0.5731 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3117, allocations: 0 / 0.5731 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/0.3169, allocations: 1.768 MB / 0.5748 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.3173, allocations: 224 kB / 0.575 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.3174, allocations: 15.95 kB / 0.5751 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.3178, allocations: 27.98 kB / 0.5751 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3179, allocations: 40.5 kB / 0.5751 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.3179, allocations: 23.98 kB / 0.5752 GB, free: 14.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.3184, allocations: 334.9 kB / 0.5755 GB, free: 13.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.3184, allocations: 0 / 0.5755 GB, free: 13.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009232/0.3193, allocations: 299.4 kB / 0.5758 GB, free: 13.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * 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 (41): * Single equations (assignments): 38 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00606/0.3254, allocations: 2.825 MB / 0.5785 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.3267, allocations: 0.6901 MB / 0.5792 GB, free: 9.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3267, allocations: 0 / 0.5792 GB, free: 9.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007146/0.3275, allocations: 454.2 kB / 0.5796 GB, free: 9.422 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3285, allocations: 174.8 kB / 0.5798 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/0.3383, allocations: 5.873 MB / 0.5855 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.3389, allocations: 0.9263 MB / 0.5864 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.3393, allocations: 102.9 kB / 0.5865 GB, free: 2.215 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.3396, allocations: 255.3 kB / 0.5868 GB, free: 1.965 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3396, allocations: 4 kB / 0.5868 GB, free: 1.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3248/0.6645, allocations: 20.78 MB / 0.6071 GB, free: 67.01 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.6647, allocations: 229.3 kB / 0.6073 GB, free: 66.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.118, allocations: 1.344 kB / 0.6073 GB, free: 66.76 MB / 462.1 MB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat does not exist to compare? outputFormat=mat