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.0009067/0.0009066, allocations: 84.38 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.0009118/0.0009119, 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.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7293/0.7293, allocations: 89.67 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 13.5 kB / 460.2 MB, free: 24.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 68.82 MB / 0.5166 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5451/0.6969, allocations: 207 MB / 0.7187 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03507/0.7321, allocations: 28.63 MB / 0.7467 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.7357, allocations: 51.69 kB / 0.7467 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004654/0.7403, allocations: 1.43 MB / 0.7481 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007647/0.748, allocations: 2.403 MB / 0.7505 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00649/0.7546, allocations: 1.841 MB / 0.7523 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007596/0.7622, allocations: 4.526 MB / 0.7567 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.7646, allocations: 0.7531 MB / 0.7574 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/0.7693, allocations: 1.642 MB / 0.759 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/0.7732, allocations: 1.958 MB / 0.7609 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009385/0.7742, allocations: 104 kB / 0.761 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008547/0.7828, allocations: 3.072 MB / 0.764 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.7839, allocations: 406.2 kB / 0.7644 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.7857, allocations: 0.4926 MB / 0.7649 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006932/0.7927, allocations: 3.008 MB / 0.7678 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7927, allocations: 0 / 0.7678 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7927, allocations: 0 / 0.7678 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001515/0.7929, allocations: 4 kB / 0.7679 GB, free: 9.766 MB / 0.5762 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.007207/0.8001, allocations: 2.627 MB / 0.7704 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.8002, allocations: 12.03 kB / 0.7704 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007925/0.801, allocations: 287.5 kB / 0.7707 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008332/0.8018, allocations: 268.9 kB / 0.771 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.804, allocations: 1.121 MB / 0.7721 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.8042, allocations: 156.2 kB / 0.7722 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.8046, allocations: 219.8 kB / 0.7724 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.8097, allocations: 2.469 MB / 0.7748 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.8098, allocations: 4 kB / 0.7748 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.81, allocations: 84 kB / 0.7749 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.8101, allocations: 55.94 kB / 0.775 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.814, allocations: 2.238 MB / 0.7771 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.8291, allocations: 11.09 MB / 0.788 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.8327, allocations: 1.763 MB / 0.7897 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.8343, allocations: 0.91 MB / 0.7906 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008518/0.8428, allocations: 6.578 MB / 0.797 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.8448, allocations: 1.039 MB / 0.798 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=183): time 8.276e-06/0.8448, allocations: 3.938 kB / 0.798 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184): time 0.01211/0.8569, allocations: 5.874 MB / 0.8038 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.8571, allocations: 103.1 kB / 0.8039 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.8591, allocations: 1.3 MB / 0.8051 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/0.8594, allocations: 57.7 kB / 0.8052 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000743/0.8601, allocations: 0.82 MB / 0.806 GB, free: 440 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.2814/1.142, allocations: 0.6091 MB / 0.8066 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/1.142, allocations: 33.28 kB / 0.8066 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.142, allocations: 366.7 kB / 0.807 GB, free: 226.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/1.144, allocations: 0.6714 MB / 0.8076 GB, free: 226.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/1.146, allocations: 0.8558 MB / 0.8085 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/1.148, allocations: 0.8127 MB / 0.8092 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.148, allocations: 1.562 kB / 0.8092 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005505/1.153, allocations: 2.503 MB / 0.8117 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/1.153, allocations: 33.7 kB / 0.8117 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.153, allocations: 3.531 kB / 0.8117 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/1.155, allocations: 0.6155 MB / 0.8123 GB, free: 225.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.156, allocations: 303.1 kB / 0.8126 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/1.17, allocations: 15.12 MB / 0.8274 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.172, allocations: 156.9 kB / 0.8275 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.172, allocations: 76.62 kB / 0.8276 GB, free: 212.1 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.000935/1.173, allocations: 395.5 kB / 0.828 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/1.174, allocations: 191.3 kB / 0.8282 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006497/1.18, allocations: 3.438 MB / 0.8315 GB, free: 210.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/1.18, allocations: 19.28 kB / 0.8315 GB, free: 210.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/1.18, allocations: 13.44 kB / 0.8316 GB, free: 210.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-05/1.18, allocations: 9.984 kB / 0.8316 GB, free: 210.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.191, allocations: 4.992 MB / 0.8364 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.191, allocations: 2.438 kB / 0.8364 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.192, allocations: 295.5 kB / 0.8367 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/1.194, allocations: 0.5459 MB / 0.8373 GB, free: 207.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.194, allocations: 67.16 kB / 0.8373 GB, free: 207.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/1.205, allocations: 14.04 MB / 0.851 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.205, allocations: 8.406 kB / 0.851 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007417/1.213, allocations: 3.647 MB / 0.8546 GB, free: 192.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000829/1.214, allocations: 310 kB / 0.8549 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/1.214, allocations: 41.41 kB / 0.8549 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.215, allocations: 123.6 kB / 0.8551 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/1.215, allocations: 172.6 kB / 0.8552 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.216, allocations: 67.09 kB / 0.8553 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001444/1.217, allocations: 0.9592 MB / 0.8562 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/1.217, allocations: 0 / 0.8562 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003912/1.221, allocations: 0.8786 MB / 0.8571 GB, free: 192 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.007524/1.228, allocations: 5.205 MB / 0.8622 GB, free: 189.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004691/1.233, allocations: 3.072 MB / 0.8652 GB, free: 187.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.233, allocations: 448 / 0.8652 GB, free: 187.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/1.236, allocations: 2.259 MB / 0.8674 GB, free: 185.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/1.24, allocations: 0.726 MB / 0.8681 GB, free: 185 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/1.261, allocations: 13.62 MB / 0.8814 GB, free: 171.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.262, allocations: 1.487 MB / 0.8828 GB, free: 169.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001911/1.264, allocations: 464.7 kB / 0.8833 GB, free: 169.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.265, allocations: 0.8937 MB / 0.8841 GB, free: 168.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.703e-06/1.265, allocations: 0 / 0.8841 GB, free: 168.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08942/1.354, allocations: 66.38 MB / 0.949 GB, free: 102.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.354, allocations: 221.8 kB / 0.9492 GB, free: 102.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.037/5.392, allocations: 0 / 0.9492 GB, free: 102.2 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