Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008236/0.0008237, allocations: 171.5 kB / 16.11 MB, free: 5.688 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.144/1.144, allocations: 205 MB / 221.9 MB, free: 9.148 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.0006845/0.0006845, allocations: 100.5 kB / 269.9 MB, free: 8.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6/0.6, allocations: 90.51 MB / 408.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 8 kB / 484.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2241, allocations: 65.8 MB / 0.5378 GB, free: 34.85 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1205/0.3447, allocations: 143.2 MB / 0.6776 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3477, allocations: 3.115 MB / 0.6806 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.3479, allocations: 7.938 kB / 0.6806 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.3484, allocations: 187 kB / 0.6808 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.349, allocations: 354 kB / 0.6811 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.3497, allocations: 394.7 kB / 0.6815 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000631/0.3503, allocations: 0.8094 MB / 0.6823 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3505, allocations: 108.1 kB / 0.6824 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.3512, allocations: 414.3 kB / 0.6828 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.3515, allocations: 286.8 kB / 0.6831 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.3515, allocations: 12 kB / 0.6831 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009705/0.3525, allocations: 0.6976 MB / 0.6838 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.3526, allocations: 47.78 kB / 0.6838 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3527, allocations: 171 kB / 0.684 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.3534, allocations: 0.668 MB / 0.6846 GB, free: 28 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3535, allocations: 3.984 kB / 0.6846 GB, free: 24 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3535, allocations: 0 / 0.6846 GB, free: 24 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3535, allocations: 0 / 0.6846 GB, free: 24 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.175/0.5285, allocations: 0.6372 MB / 0.6853 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5285, allocations: 8.531 kB / 0.6853 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.5286, allocations: 44.89 kB / 0.6853 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.5289, allocations: 291.6 kB / 0.6856 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.5289, allocations: 19.47 kB / 0.6856 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.529, allocations: 27.41 kB / 0.6856 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.5295, allocations: 306.9 kB / 0.6859 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5296, allocations: 3.969 kB / 0.6859 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.5296, allocations: 9.625 kB / 0.6859 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.5296, allocations: 8.938 kB / 0.686 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.5301, allocations: 216 kB / 0.6862 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.5315, allocations: 1.558 MB / 0.6877 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.5321, allocations: 261.1 kB / 0.6879 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.5323, allocations: 108.8 kB / 0.688 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.5328, allocations: 470.7 kB / 0.6885 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.5328, allocations: 41.45 kB / 0.6885 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.794e-06/0.5328, allocations: 2.562 kB / 0.6885 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0009588/0.5338, allocations: 455.4 kB / 0.689 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.5338, allocations: 109 kB / 0.6891 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.5341, allocations: 289.3 kB / 0.6893 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.5341, allocations: 32.61 kB / 0.6894 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.5342, allocations: 199 kB / 0.6896 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.5343, allocations: 83.22 kB / 0.6896 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.5343, allocations: 4.875 kB / 0.6896 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.5343, allocations: 348 kB / 0.69 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.5345, allocations: 89.02 kB / 0.6901 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.5348, allocations: 153.5 kB / 0.6902 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.5352, allocations: 251.9 kB / 0.6904 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5352, allocations: 0.9375 kB / 0.6905 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005876/0.5358, allocations: 322.8 kB / 0.6908 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5358, allocations: 9.297 kB / 0.6908 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5358, allocations: 5.5 kB / 0.6908 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.536, allocations: 26.27 kB / 0.6908 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.5362, allocations: 54.69 kB / 0.6908 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006195/0.5368, allocations: 1.297 MB / 0.6921 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.537, allocations: 32.17 kB / 0.6921 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.537, allocations: 17.06 kB / 0.6922 GB, free: 139.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.5371, allocations: 148.7 kB / 0.6923 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.5372, allocations: 35.33 kB / 0.6923 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.5379, allocations: 312 kB / 0.6926 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5379, allocations: 1.422 kB / 0.6926 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5379, allocations: 1.312 kB / 0.6926 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.538, allocations: 106.9 kB / 0.6927 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.538, allocations: 11.19 kB / 0.6928 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.5383, allocations: 15.77 kB / 0.6928 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.5383, allocations: 23.84 kB / 0.6928 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007004/0.539, allocations: 0.5249 MB / 0.6933 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007124/0.5398, allocations: 0.7066 MB / 0.694 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002112/0.54, allocations: 108.4 kB / 0.6941 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001815/0.5402, allocations: 216.5 kB / 0.6943 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of Backend: time 4.4e-07/0.5402, allocations: 0 / 0.6943 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.5415, allocations: 0.5547 MB / 0.6948 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001271/0.5428, allocations: 1.308 MB / 0.6961 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.01003/0.5528, allocations: 6.467 MB / 0.7024 GB, free: 134.2 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1)