Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",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.001122/0.001122, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00122/0.00122, allocations: 177.3 kB / 15.95 MB, free: 216 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.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7013/0.7013, allocations: 89.64 MB / 380.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005533/0.0005535, allocations: 15.28 kB / 460 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1732, allocations: 68.83 MB / 0.5165 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4991/0.6724, allocations: 191 MB / 0.703 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04312/0.7156, allocations: 25.72 MB / 0.7281 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/0.72, allocations: 51.69 kB / 0.7281 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006545/0.7266, allocations: 1.419 MB / 0.7295 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.7379, allocations: 2.504 MB / 0.732 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007724/0.7456, allocations: 1.929 MB / 0.7339 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00667/0.7523, allocations: 2.785 MB / 0.7366 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.7539, allocations: 0.7568 MB / 0.7373 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.7581, allocations: 1.596 MB / 0.7389 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.7613, allocations: 1.651 MB / 0.7405 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.7617, allocations: 108 kB / 0.7406 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009147/0.7709, allocations: 3.273 MB / 0.7438 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.7721, allocations: 394.3 kB / 0.7442 GB, free: 496 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.7735, allocations: 0.5044 MB / 0.7447 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005982/0.7795, allocations: 2.957 MB / 0.7475 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7795, allocations: 0 / 0.7475 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7795, allocations: 0 / 0.7475 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.773e-05/0.7796, allocations: 0 / 0.7475 GB, free: 13.01 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.00611/0.7857, allocations: 2.631 MB / 0.7501 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7858, allocations: 8.031 kB / 0.7501 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004429/0.7863, allocations: 291.5 kB / 0.7504 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.7867, allocations: 268.9 kB / 0.7507 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.7887, allocations: 1.125 MB / 0.7518 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.7888, allocations: 152.2 kB / 0.7519 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003144/0.7892, allocations: 223.8 kB / 0.7521 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.7932, allocations: 2.448 MB / 0.7545 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.7932, allocations: 7.875 kB / 0.7545 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.7934, allocations: 84 kB / 0.7546 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.7934, allocations: 52 kB / 0.7546 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.7972, allocations: 2.238 MB / 0.7568 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/0.8118, allocations: 11.36 MB / 0.7679 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.8151, allocations: 1.759 MB / 0.7696 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008692/0.8239, allocations: 6.773 MB / 0.7763 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.8256, allocations: 1.043 MB / 0.7773 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=183): time 6.913e-06/0.8257, allocations: 0 / 0.7773 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=184): time 0.01174/0.8374, allocations: 5.865 MB / 0.783 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.8375, allocations: 103 kB / 0.7831 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.8391, allocations: 1.3 MB / 0.7844 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.8393, allocations: 57.7 kB / 0.7844 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.84, allocations: 0.8161 MB / 0.7852 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006502/0.8407, allocations: 0.616 MB / 0.7858 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.8408, allocations: 32 kB / 0.7859 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8409, allocations: 369.9 kB / 0.7862 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.8422, allocations: 0.6716 MB / 0.7869 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.8436, allocations: 0.8493 MB / 0.7877 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.845, allocations: 0.8081 MB / 0.7885 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8451, allocations: 0 / 0.7885 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005157/0.8502, allocations: 2.488 MB / 0.7909 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.8503, allocations: 33.7 kB / 0.7909 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.8503, allocations: 4 kB / 0.7909 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.8523, allocations: 0.6191 MB / 0.7915 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.8535, allocations: 303.5 kB / 0.7918 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3685/1.222, allocations: 15.27 MB / 0.8068 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.224, allocations: 153.3 kB / 0.8069 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/1.224, allocations: 74.72 kB / 0.807 GB, free: 221.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (163): * Single equations (assignments): 153 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,77.8%) 18,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009724/1.225, allocations: 391.4 kB / 0.8073 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/1.225, allocations: 192.4 kB / 0.8075 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006616/1.232, allocations: 3.453 MB / 0.8109 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.232, allocations: 19.53 kB / 0.8109 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.232, allocations: 10.78 kB / 0.8109 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/1.232, allocations: 9.984 kB / 0.8109 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007984/1.24, allocations: 5.1 MB / 0.8159 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.24, allocations: 8.094 kB / 0.8159 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.241, allocations: 291.3 kB / 0.8162 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1.243, allocations: 0.551 MB / 0.8167 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/1.243, allocations: 66.94 kB / 0.8168 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009446/1.252, allocations: 14.21 MB / 0.8307 GB, free: 205.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.252, allocations: 0.5156 kB / 0.8307 GB, free: 205.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009635/1.262, allocations: 3.761 MB / 0.8344 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.263, allocations: 330.2 kB / 0.8347 GB, free: 203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/1.264, allocations: 44.44 kB / 0.8347 GB, free: 203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/1.266, allocations: 116.8 kB / 0.8348 GB, free: 203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/1.267, allocations: 176.3 kB / 0.835 GB, free: 202.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/1.267, allocations: 72.69 kB / 0.8351 GB, free: 202.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002329/1.269, allocations: 0.9511 MB / 0.836 GB, free: 202.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.5e-07/1.269, allocations: 0 / 0.836 GB, free: 202.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005244/1.274, allocations: 0.8802 MB / 0.8369 GB, free: 202.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * 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 (158): * Single equations (assignments): 147 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01222/1.287, allocations: 5.843 MB / 0.8426 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007227/1.294, allocations: 3.083 MB / 0.8456 GB, free: 197.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.294, allocations: 1.812 kB / 0.8456 GB, free: 197.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004279/1.298, allocations: 2.248 MB / 0.8478 GB, free: 196 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005229/1.304, allocations: 0.7058 MB / 0.8485 GB, free: 195.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/1.339, allocations: 15.51 MB / 0.8636 GB, free: 185.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.34, allocations: 1.537 MB / 0.8651 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002879/1.343, allocations: 464.1 kB / 0.8655 GB, free: 183.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/1.345, allocations: 0.8898 MB / 0.8664 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.122e-06/1.345, allocations: 0 / 0.8664 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.461, allocations: 66.1 MB / 0.931 GB, free: 117 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/1.461, allocations: 220.4 kB / 0.9312 GB, free: 116.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/5.445, allocations: 3.938 kB / 0.9312 GB, free: 116.7 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat does not exist to compare? outputFormat=mat