Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",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.0009803/0.0009804, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 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.567/1.567, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8539/0.8539, allocations: 89.67 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004381, allocations: 14.55 kB / 460.1 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1558, allocations: 68.83 MB / 0.5166 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.4632/0.619, allocations: 127.3 MB / 0.6409 GB, free: 4.402 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.6216, allocations: 1.953 MB / 0.6428 GB, free: 2.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.6218, allocations: 6.188 kB / 0.6428 GB, free: 2.816 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.6223, allocations: 96.2 kB / 0.6429 GB, free: 2.742 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.6227, allocations: 124.1 kB / 0.643 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.6231, allocations: 132.6 kB / 0.6431 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.6234, allocations: 259.4 kB / 0.6434 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.6236, allocations: 42.86 kB / 0.6434 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.624, allocations: 130.9 kB / 0.6435 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.6242, allocations: 106 kB / 0.6436 GB, free: 2.234 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.6242, allocations: 4.719 kB / 0.6436 GB, free: 2.234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.6246, allocations: 165.4 kB / 0.6438 GB, free: 2.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.6246, allocations: 24.97 kB / 0.6438 GB, free: 2.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.6247, allocations: 51.39 kB / 0.6439 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.625, allocations: 147.4 kB / 0.644 GB, free: 2.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.625, allocations: 3.031 kB / 0.644 GB, free: 2.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.625, allocations: 0 / 0.644 GB, free: 2.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.625, allocations: 7.938 kB / 0.644 GB, free: 2 MB / 462.1 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.0009766/0.626, allocations: 492.4 kB / 0.6445 GB, free: 1.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.626, allocations: 10.81 kB / 0.6445 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.6261, allocations: 45.42 kB / 0.6445 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.6262, allocations: 15.62 kB / 0.6446 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.6265, allocations: 207.8 kB / 0.6448 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.6265, allocations: 21.05 kB / 0.6448 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.6265, allocations: 16.61 kB / 0.6448 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.6269, allocations: 174 kB / 0.645 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.627, allocations: 0 / 0.645 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.627, allocations: 4 kB / 0.645 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.627, allocations: 6.812 kB / 0.645 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.6273, allocations: 111.6 kB / 0.6451 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.6285, allocations: 0.8943 MB / 0.6459 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.6288, allocations: 99.8 kB / 0.646 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.6289, allocations: 49.58 kB / 0.6461 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.6291, allocations: 80.05 kB / 0.6462 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.6294, allocations: 102.5 kB / 0.6463 GB, free: 15.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6294, allocations: 0 / 0.6463 GB, free: 15.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004928/0.6299, allocations: 152.7 kB / 0.6464 GB, free: 15.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.6299, allocations: 58.25 kB / 0.6465 GB, free: 15.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.6301, allocations: 196 kB / 0.6466 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.6302, allocations: 29.7 kB / 0.6467 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.6303, allocations: 146.9 kB / 0.6468 GB, free: 15.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.6303, allocations: 30.22 kB / 0.6468 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.6303, allocations: 0 / 0.6468 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6305, allocations: 327.8 kB / 0.6472 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.6306, allocations: 51.44 kB / 0.6472 GB, free: 15.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.6308, allocations: 93.67 kB / 0.6473 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.631, allocations: 81.34 kB / 0.6474 GB, free: 14.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.631, allocations: 3.953 kB / 0.6474 GB, free: 14.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004123/0.6314, allocations: 214.4 kB / 0.6476 GB, free: 14.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.6315, allocations: 38.09 kB / 0.6476 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6315, allocations: 320 / 0.6476 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6315, allocations: 2.844 kB / 0.6476 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.6317, allocations: 31.89 kB / 0.6477 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6317, allocations: 2.938 kB / 0.6477 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.6318, allocations: 29.61 kB / 0.6477 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.6319, allocations: 13.48 kB / 0.6477 GB, free: 14.7 MB / 478.1 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001158/0.632, allocations: 123.7 kB / 0.6478 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.632, allocations: 27.66 kB / 0.6478 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.6324, allocations: 130.5 kB / 0.648 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6324, allocations: 5.812 kB / 0.648 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6324, allocations: 0 / 0.648 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6324, allocations: 0 / 0.648 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.6326, allocations: 222.8 kB / 0.6482 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6326, allocations: 0 / 0.6482 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.6327, allocations: 21.78 kB / 0.6482 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.6328, allocations: 6.859 kB / 0.6482 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.6328, allocations: 4 kB / 0.6482 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6328, allocations: 0 / 0.6482 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6328, allocations: 4 kB / 0.6482 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.6332, allocations: 204.5 kB / 0.6484 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.6333, allocations: 91.66 kB / 0.6485 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.6333, allocations: 3.953 kB / 0.6485 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.6335, allocations: 16.2 kB / 0.6485 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.6335, allocations: 10.83 kB / 0.6485 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.6335, allocations: 1.75 kB / 0.6485 GB, free: 13.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.6337, allocations: 146.8 kB / 0.6487 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6337, allocations: 64 / 0.6487 GB, free: 13.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.6339, allocations: 41.06 kB / 0.6487 GB, free: 13.85 MB / 478.1 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008436/0.6348, allocations: 0.7769 MB / 0.6495 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003999/0.6352, allocations: 172.1 kB / 0.6496 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.6352, allocations: 2.156 kB / 0.6496 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.6353, allocations: 47.5 kB / 0.6497 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.6357, allocations: 45.27 kB / 0.6497 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.6375, allocations: 1.084 MB / 0.6508 GB, free: 12.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.6379, allocations: 0.715 MB / 0.6515 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.988e-05/0.638, allocations: 17.42 kB / 0.6515 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.6381, allocations: 49.17 kB / 0.6515 GB, free: 11.43 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6381, allocations: 0 / 0.6515 GB, free: 11.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.655, allocations: 3.997 MB / 0.6554 GB, free: 9.527 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.6553, allocations: 191.2 kB / 0.6556 GB, free: 9.289 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.578, allocations: 2.812 kB / 0.6556 GB, free: 9.289 MB / 478.1 MB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_TerminalSourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat does not exist to compare? outputFormat=mat