Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM",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.001075/0.001075, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001315/0.001315, allocations: 172.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.416/1.416, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8195/0.8195, allocations: 89.65 MB / 380.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 16.38 kB / 460.1 MB, free: 24.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 68.84 MB / 0.5166 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 1.213/1.379, allocations: 332.8 MB / 0.8416 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04082/1.42, allocations: 35.82 MB / 0.8765 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004242/1.424, allocations: 27.5 kB / 0.8766 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006123/1.43, allocations: 1.274 MB / 0.8778 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02242/1.453, allocations: 6.545 MB / 0.8842 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009749/1.463, allocations: 2.95 MB / 0.8871 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007146/1.47, allocations: 4.753 MB / 0.8917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/1.472, allocations: 0.8895 MB / 0.8926 GB, free: 22.89 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005219/1.477, allocations: 2.04 MB / 0.8946 GB, free: 22.63 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/1.48, allocations: 1.551 MB / 0.8961 GB, free: 22.35 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005154/1.481, allocations: 92.94 kB / 0.8962 GB, free: 22.35 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02592/1.507, allocations: 13.09 MB / 0.909 GB, free: 19.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/1.508, allocations: 0.6678 MB / 0.9096 GB, free: 18.87 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/1.509, allocations: 494 kB / 0.9101 GB, free: 18.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/1.526, allocations: 6.3 MB / 0.9162 GB, free: 16.4 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.526, allocations: 3.344 kB / 0.9163 GB, free: 16.4 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.375e-06/1.526, allocations: 0 / 0.9163 GB, free: 16.4 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.838e-05/1.526, allocations: 0 / 0.9163 GB, free: 16.4 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01073/1.537, allocations: 3.804 MB / 0.92 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.537, allocations: 12.03 kB / 0.92 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008812/1.538, allocations: 280.6 kB / 0.9202 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/1.539, allocations: 257 kB / 0.9205 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/1.541, allocations: 1.168 MB / 0.9216 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/1.541, allocations: 141.2 kB / 0.9218 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/1.541, allocations: 198.6 kB / 0.922 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/1.546, allocations: 3.08 MB / 0.925 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/1.546, allocations: 0 / 0.925 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/1.546, allocations: 73.73 kB / 0.925 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/1.546, allocations: 184 kB / 0.9252 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004573/1.551, allocations: 3.375 MB / 0.9285 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/1.566, allocations: 12.36 MB / 0.9406 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/1.569, allocations: 1.634 MB / 0.9422 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.571, allocations: 1.423 MB / 0.9436 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003353/1.574, allocations: 3.848 MB / 0.9473 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/1.574, allocations: 52.11 kB / 0.9474 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=196): time 6.753e-06/1.574, allocations: 4 kB / 0.9474 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200): time 0.01669/1.591, allocations: 8.366 MB / 0.9555 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/1.591, allocations: 100.4 kB / 0.9556 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/1.592, allocations: 1.154 MB / 0.9568 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.593, allocations: 62.08 kB / 0.9568 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/1.593, allocations: 0.7598 MB / 0.9576 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005424/1.594, allocations: 0.6738 MB / 0.9582 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.594, allocations: 34.75 kB / 0.9583 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.594, allocations: 374.4 kB / 0.9586 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.595, allocations: 1.025 MB / 0.9596 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/1.597, allocations: 1.151 MB / 0.9607 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/1.599, allocations: 1.171 MB / 0.9619 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.599, allocations: 0 / 0.9619 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.0049/1.603, allocations: 3.027 MB / 0.9648 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.603, allocations: 4 kB / 0.9648 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.604, allocations: 0 / 0.9648 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/1.605, allocations: 472.1 kB / 0.9653 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.606, allocations: 335.8 kB / 0.9656 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/1.613, allocations: 5.808 MB / 0.9713 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.615, allocations: 144.8 kB / 0.9714 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/1.615, allocations: 116.3 kB / 0.9715 GB, free: 3.824 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (172): * Single equations (assignments): 160 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * 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 {(5,68.0%) 16,(5,68.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009482/1.616, allocations: 0.5043 MB / 0.972 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/1.616, allocations: 169.7 kB / 0.9722 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007102/1.623, allocations: 4.638 MB / 0.9767 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/1.623, allocations: 20 kB / 0.9767 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/1.624, allocations: 12.05 kB / 0.9767 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/1.624, allocations: 11.88 kB / 0.9768 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009984/1.634, allocations: 6.199 MB / 0.9828 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.634, allocations: 7.938 kB / 0.9828 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.635, allocations: 304.1 kB / 0.9831 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/1.636, allocations: 492.7 kB / 0.9836 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/1.636, allocations: 83.48 kB / 0.9837 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007346/1.644, allocations: 5.834 MB / 0.9894 GB, free: 6.473 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.644, allocations: 4 kB / 0.9894 GB, free: 6.469 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007162/1.651, allocations: 4.728 MB / 0.994 GB, free: 3.359 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007735/1.652, allocations: 274.1 kB / 0.9942 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.652, allocations: 51.64 kB / 0.9943 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.653, allocations: 141.1 kB / 0.9944 GB, free: 2.969 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/1.653, allocations: 163 kB / 0.9946 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002337/1.654, allocations: 115.8 kB / 0.9947 GB, free: 2.738 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001195/1.655, allocations: 0.9198 MB / 0.9956 GB, free: 2.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.22e-07/1.655, allocations: 4 kB / 0.9956 GB, free: 2.086 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00511/1.66, allocations: 1.624 MB / 0.9972 GB, free: 0.6602 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.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 (160): * Single equations (assignments): 148 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * 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 {(5,68.0%) 16,(5,68.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01204/1.672, allocations: 7.259 MB / 1.004 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00567/1.678, allocations: 3.088 MB / 1.007 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.678, allocations: 7.938 kB / 1.007 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00365/1.681, allocations: 1.911 MB / 1.009 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/1.686, allocations: 0.7106 MB / 1.01 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/1.714, allocations: 14.93 MB / 1.024 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.716, allocations: 1.662 MB / 1.026 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003077/1.719, allocations: 1.24 MB / 1.027 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.721, allocations: 0.9014 MB / 1.028 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of SimCode: time 8.31e-07/1.721, allocations: 0 / 1.028 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5017/2.222, allocations: 84.75 MB / 1.111 GB, free: 341.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/2.223, allocations: 249.8 kB / 1.111 GB, free: 340.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.051/7.274, allocations: 6.625 kB / 1.111 GB, free: 340.8 MB / 0.7481 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat does not exist to compare? outputFormat=mat