Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.TerminalSourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",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.004638/0.004638, allocations: 168.7 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.35/1.35, 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.0008425/0.0008425, allocations: 94.28 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.6498/0.6498, allocations: 90.61 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 11.98 kB / 485.3 MB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3541, allocations: 66.28 MB / 0.5387 GB, free: 45.6 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.13/0.4841, allocations: 127.3 MB / 0.663 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.4862, allocations: 1.952 MB / 0.6649 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.4864, allocations: 9.406 kB / 0.6649 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.4868, allocations: 95.45 kB / 0.665 GB, free: 10.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.4871, allocations: 127.2 kB / 0.6651 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.4875, allocations: 131.5 kB / 0.6653 GB, free: 9.988 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.4878, allocations: 274.8 kB / 0.6655 GB, free: 9.719 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.4879, allocations: 48.2 kB / 0.6656 GB, free: 9.676 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.4883, allocations: 139.4 kB / 0.6657 GB, free: 9.539 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4885, allocations: 111.6 kB / 0.6658 GB, free: 9.43 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.4886, allocations: 4 kB / 0.6658 GB, free: 9.426 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.4889, allocations: 183.6 kB / 0.666 GB, free: 9.246 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.489, allocations: 23.92 kB / 0.666 GB, free: 9.223 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.489, allocations: 57.58 kB / 0.6661 GB, free: 9.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.4893, allocations: 151.6 kB / 0.6662 GB, free: 9.012 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4893, allocations: 0 / 0.6662 GB, free: 9.012 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4893, allocations: 8 kB / 0.6662 GB, free: 9.004 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4893, allocations: 0.5625 kB / 0.6662 GB, free: 9.004 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008818/0.4902, allocations: 0.4894 MB / 0.6667 GB, free: 8.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4903, allocations: 16.02 kB / 0.6667 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.4903, allocations: 42.56 kB / 0.6668 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.4904, allocations: 15.81 kB / 0.6668 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4906, allocations: 219.7 kB / 0.667 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4907, allocations: 14.3 kB / 0.667 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.4907, allocations: 16 kB / 0.667 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.4911, allocations: 162.2 kB / 0.6672 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4911, allocations: 0 / 0.6672 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4911, allocations: 4 kB / 0.6672 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.4911, allocations: 4.938 kB / 0.6672 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.4914, allocations: 115.9 kB / 0.6673 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4925, allocations: 0.796 MB / 0.6681 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.4929, allocations: 118.5 kB / 0.6682 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4931, allocations: 52.83 kB / 0.6682 GB, free: 6.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.875e-05/0.4932, allocations: 81.11 kB / 0.6683 GB, free: 6.637 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.4935, allocations: 107.3 kB / 0.6684 GB, free: 6.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4935, allocations: 0 / 0.6684 GB, free: 6.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005238/0.494, allocations: 186.7 kB / 0.6686 GB, free: 6.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4941, allocations: 51.41 kB / 0.6686 GB, free: 6.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4942, allocations: 186.6 kB / 0.6688 GB, free: 6.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.4943, allocations: 29.7 kB / 0.6688 GB, free: 6.039 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.4944, allocations: 143.8 kB / 0.669 GB, free: 5.891 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.4944, allocations: 31.78 kB / 0.669 GB, free: 5.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.4944, allocations: 11.94 kB / 0.669 GB, free: 5.848 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4946, allocations: 326.8 kB / 0.6693 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4947, allocations: 59.95 kB / 0.6694 GB, free: 5.461 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.4949, allocations: 98.44 kB / 0.6695 GB, free: 5.348 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.4951, allocations: 81.67 kB / 0.6696 GB, free: 5.262 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4951, allocations: 1.406 kB / 0.6696 GB, free: 5.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004215/0.4955, allocations: 231 kB / 0.6698 GB, free: 5.023 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.4956, allocations: 37.69 kB / 0.6698 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4956, allocations: 0 / 0.6698 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4956, allocations: 4.156 kB / 0.6698 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.4958, allocations: 40.92 kB / 0.6699 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4958, allocations: 1.484 kB / 0.6699 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.496, allocations: 27.83 kB / 0.6699 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.496, allocations: 8 kB / 0.6699 GB, free: 4.902 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4961, allocations: 129.6 kB / 0.67 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.4961, allocations: 23.8 kB / 0.67 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.4965, allocations: 149 kB / 0.6702 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4965, allocations: 0 / 0.6702 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4965, allocations: 0 / 0.6702 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4966, allocations: 3.984 kB / 0.6702 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.4968, allocations: 234 kB / 0.6704 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4968, allocations: 0 / 0.6704 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4969, allocations: 23.98 kB / 0.6704 GB, free: 4.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4969, allocations: 4.875 kB / 0.6704 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4969, allocations: 0 / 0.6704 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4969, allocations: 0 / 0.6704 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4969, allocations: 0 / 0.6704 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.4974, allocations: 229.6 kB / 0.6707 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.4975, allocations: 96.8 kB / 0.6708 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.4975, allocations: 5.062 kB / 0.6708 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4977, allocations: 17.42 kB / 0.6708 GB, free: 3.914 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.4977, allocations: 11.98 kB / 0.6708 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.4977, allocations: 7.984 kB / 0.6708 GB, free: 3.895 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.643e-05/0.4979, allocations: 132.5 kB / 0.6709 GB, free: 3.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4979, allocations: 0 / 0.6709 GB, free: 3.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.4981, allocations: 43.98 kB / 0.671 GB, free: 3.723 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008292/0.4989, allocations: 0.7934 MB / 0.6717 GB, free: 2.898 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.4994, allocations: 187.5 kB / 0.6719 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4994, allocations: 0 / 0.6719 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4995, allocations: 55.91 kB / 0.672 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.4999, allocations: 40.72 kB / 0.672 GB, free: 2.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5017, allocations: 1.094 MB / 0.6731 GB, free: 1.465 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.502, allocations: 0.7243 MB / 0.6738 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.347e-05/0.5021, allocations: 14.19 kB / 0.6738 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.5022, allocations: 47.36 kB / 0.6738 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5022, allocations: 4 kB / 0.6738 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.5177, allocations: 4.157 MB / 0.6779 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.5179, allocations: 204.4 kB / 0.6781 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.201, allocations: 4 kB / 0.6781 GB, free: 12.5 MB / 0.4948 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat does not exist to compare? outputFormat=mat