Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.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.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink",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.008188/0.008188, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.905/1.905, 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.0008236/0.0008236, allocations: 94.89 kB / 269.6 MB, free: 13.34 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.934/0.934, allocations: 90.58 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 16 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5059, allocations: 66.27 MB / 0.5387 GB, free: 45.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1727/0.6787, allocations: 119.2 MB / 0.6551 GB, free: 4.465 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.682, allocations: 2.756 MB / 0.6578 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.6822, allocations: 4 kB / 0.6578 GB, free: 1.707 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.6827, allocations: 103.5 kB / 0.6579 GB, free: 1.605 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.6831, allocations: 191.4 kB / 0.6581 GB, free: 1.418 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.6834, allocations: 143.6 kB / 0.6582 GB, free: 1.277 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.6836, allocations: 179.6 kB / 0.6584 GB, free: 1.102 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.6838, allocations: 40.05 kB / 0.6584 GB, free: 1.066 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.6842, allocations: 143.5 kB / 0.6585 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.6843, allocations: 85.41 kB / 0.6586 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.6843, allocations: 8 kB / 0.6586 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.6848, allocations: 275.7 kB / 0.6589 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.6848, allocations: 31.84 kB / 0.6589 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.6849, allocations: 53.64 kB / 0.659 GB, free: 488 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.6851, allocations: 157.1 kB / 0.6591 GB, free: 340 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6851, allocations: 0 / 0.6591 GB, free: 340 kB / 474.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.6852, allocations: 0 / 0.6591 GB, free: 340 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.6852, allocations: 3.938 kB / 0.6591 GB, free: 336 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007188/0.6859, allocations: 467.2 kB / 0.6596 GB, free: 15.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6859, allocations: 8.031 kB / 0.6596 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.686, allocations: 51.11 kB / 0.6596 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.686, allocations: 23.77 kB / 0.6597 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.6863, allocations: 218.7 kB / 0.6599 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.6863, allocations: 11.94 kB / 0.6599 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.6864, allocations: 12.5 kB / 0.6599 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.6866, allocations: 132.1 kB / 0.66 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6866, allocations: 0 / 0.66 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6866, allocations: 4 kB / 0.66 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6867, allocations: 9.953 kB / 0.66 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.6868, allocations: 79.97 kB / 0.6601 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.6876, allocations: 0.7607 MB / 0.6608 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.6879, allocations: 125.2 kB / 0.661 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.483e-05/0.6879, allocations: 8.125 kB / 0.661 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.688, allocations: 30.56 kB / 0.661 GB, free: 14.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.688, allocations: 3.938 kB / 0.661 GB, free: 14.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008584/0.6888, allocations: 0.524 MB / 0.6615 GB, free: 13.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.6889, allocations: 77.11 kB / 0.6616 GB, free: 13.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.6891, allocations: 191.8 kB / 0.6618 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.6891, allocations: 29.7 kB / 0.6618 GB, free: 13.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.6892, allocations: 120 kB / 0.6619 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.6892, allocations: 43.39 kB / 0.662 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.6892, allocations: 0 / 0.662 GB, free: 13.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6894, allocations: 330.8 kB / 0.6623 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.6894, allocations: 35.98 kB / 0.6623 GB, free: 12.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.6895, allocations: 59.42 kB / 0.6624 GB, free: 12.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.6896, allocations: 44.73 kB / 0.6624 GB, free: 12.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6896, allocations: 0 / 0.6624 GB, free: 12.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002907/0.6899, allocations: 183.7 kB / 0.6626 GB, free: 12.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6899, allocations: 4 kB / 0.6626 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6899, allocations: 7.594 kB / 0.6626 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.6901, allocations: 37.7 kB / 0.6626 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.6902, allocations: 11.98 kB / 0.6626 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.6919, allocations: 2.575 MB / 0.6652 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.692, allocations: 15.88 kB / 0.6652 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.692, allocations: 4 kB / 0.6652 GB, free: 9.473 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.6922, allocations: 137.7 kB / 0.6653 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.6922, allocations: 15.81 kB / 0.6653 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.6925, allocations: 174.1 kB / 0.6655 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6925, allocations: 0 / 0.6655 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.6925, allocations: 0 / 0.6655 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6926, allocations: 0 / 0.6655 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.6928, allocations: 245.5 kB / 0.6657 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6929, allocations: 4 kB / 0.6657 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.6929, allocations: 8 kB / 0.6657 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.693, allocations: 41.59 kB / 0.6658 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.693, allocations: 9.312 kB / 0.6658 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.6947, allocations: 2.573 MB / 0.6683 GB, free: 5.941 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6947, allocations: 5.062 kB / 0.6683 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.6951, allocations: 386.9 kB / 0.6687 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.6952, allocations: 100.9 kB / 0.6688 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.6952, allocations: 0 / 0.6688 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.6953, allocations: 11.94 kB / 0.6688 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.6953, allocations: 7.984 kB / 0.6688 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.6954, allocations: 4 kB / 0.6688 GB, free: 5.391 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.6955, allocations: 141.5 kB / 0.6689 GB, free: 5.254 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6955, allocations: 5.562 kB / 0.6689 GB, free: 5.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.6958, allocations: 47.91 kB / 0.669 GB, free: 5.203 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (sink.inlet.m_flow,sink1.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 (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008233/0.6967, allocations: 1.045 MB / 0.67 GB, free: 4.125 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.6972, allocations: 380.4 kB / 0.6704 GB, free: 3.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.6972, allocations: 8.125 kB / 0.6704 GB, free: 3.711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.6975, allocations: 341.5 kB / 0.6707 GB, free: 3.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.6979, allocations: 41.67 kB / 0.6707 GB, free: 3.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.6997, allocations: 1.644 MB / 0.6723 GB, free: 1.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.7001, allocations: 0.7319 MB / 0.673 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.7001, allocations: 17.42 kB / 0.6731 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.7002, allocations: 59.17 kB / 0.6731 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.7002, allocations: 0 / 0.6731 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.7193, allocations: 5.409 MB / 0.6784 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.7195, allocations: 214.8 kB / 0.6786 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.667, allocations: 7.188 kB / 0.6786 GB, free: 11.38 MB / 0.4948 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat does not exist to compare? outputFormat=mat