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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6367/0.6367, allocations: 94.57 MB / 404.1 MB, free: 10.96 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 85.28 kB / 0.5506 GB, free: 5.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3874, allocations: 73.02 MB / 0.6219 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.6285/1.016, allocations: 226.2 MB / 0.8428 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02708/1.043, allocations: 31.06 MB / 0.8732 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/1.046, allocations: 198.1 kB / 0.8734 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004235/1.05, allocations: 1.744 MB / 0.8751 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007272/1.057, allocations: 2.744 MB / 0.8777 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006996/1.064, allocations: 2.597 MB / 0.8803 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006068/1.07, allocations: 4.833 MB / 0.885 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/1.072, allocations: 0.6485 MB / 0.8856 GB, free: 16.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/1.077, allocations: 2.489 MB / 0.8881 GB, free: 16.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003781/1.081, allocations: 2.335 MB / 0.8903 GB, free: 16.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007991/1.081, allocations: 267.2 kB / 0.8906 GB, free: 16.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008351/1.09, allocations: 3.79 MB / 0.8943 GB, free: 16.67 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/1.091, allocations: 0.6302 MB / 0.8949 GB, free: 16.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00312/1.094, allocations: 1.563 MB / 0.8964 GB, free: 16.07 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.105, allocations: 4.993 MB / 0.9013 GB, free: 15.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.105, allocations: 0 / 0.9013 GB, free: 15.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.953e-06/1.105, allocations: 0.9375 kB / 0.9013 GB, free: 15.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001339/1.106, allocations: 1.375 kB / 0.9013 GB, free: 15.32 MB / 0.67 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.009382/1.115, allocations: 3.681 MB / 0.9049 GB, free: 13.63 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.115, allocations: 9.938 kB / 0.9049 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.935e-05/1.115, allocations: 55.39 kB / 0.905 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004476/1.115, allocations: 291.7 kB / 0.9052 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008044/1.116, allocations: 356.5 kB / 0.9056 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/1.12, allocations: 2.077 MB / 0.9076 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.12, allocations: 156.7 kB / 0.9078 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/1.121, allocations: 223 kB / 0.908 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/1.125, allocations: 2.47 MB / 0.9104 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/1.125, allocations: 5.75 kB / 0.9104 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/1.125, allocations: 86.56 kB / 0.9105 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/1.125, allocations: 50.12 kB / 0.9105 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/1.128, allocations: 2.225 MB / 0.9127 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/1.144, allocations: 11.23 MB / 0.9237 GB, free: 5.957 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00338/1.147, allocations: 1.631 MB / 0.9253 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/1.149, allocations: 0.8098 MB / 0.9261 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009198/1.158, allocations: 6.53 MB / 0.9324 GB, free: 368 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/1.16, allocations: 1.035 MB / 0.9334 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=183): time 6.593e-06/1.16, allocations: 6.625 kB / 0.9334 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=184): time 0.01453/1.174, allocations: 6.158 MB / 0.9395 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.174, allocations: 107.1 kB / 0.9396 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/1.177, allocations: 1.871 MB / 0.9414 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004013/1.178, allocations: 57.7 kB / 0.9414 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/1.179, allocations: 1.103 MB / 0.9425 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009375/1.18, allocations: 0.6541 MB / 0.9432 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/1.18, allocations: 292.8 kB / 0.9434 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.181, allocations: 305.1 kB / 0.9437 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/1.182, allocations: 0.6779 MB / 0.9444 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.184, allocations: 0.8493 MB / 0.9452 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/1.187, allocations: 1.667 MB / 0.9468 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.187, allocations: 0 / 0.9468 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006158/1.193, allocations: 2.55 MB / 0.9493 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/1.194, allocations: 41.62 kB / 0.9494 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.194, allocations: 0 / 0.9494 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/1.196, allocations: 0.6189 MB / 0.95 GB, free: 8 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.197, allocations: 299.5 kB / 0.9503 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/1.217, allocations: 16.21 MB / 0.9661 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.219, allocations: 103.6 kB / 0.9662 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/1.22, allocations: 79.95 kB / 0.9663 GB, free: 14.18 MB / 0.7169 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001126/1.221, allocations: 433.3 kB / 0.9667 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/1.222, allocations: 274.2 kB / 0.967 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007599/1.229, allocations: 3.443 MB / 0.9703 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/1.229, allocations: 16 kB / 0.9703 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.229, allocations: 12 kB / 0.9703 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/1.229, allocations: 7.969 kB / 0.9703 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.24, allocations: 5.155 MB / 0.9754 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.24, allocations: 0 / 0.9754 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.241, allocations: 296.6 kB / 0.9757 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/1.243, allocations: 0.5414 MB / 0.9762 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/1.243, allocations: 71.89 kB / 0.9763 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/1.259, allocations: 15.24 MB / 0.9911 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.259, allocations: 4.031 kB / 0.9911 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008153/1.267, allocations: 3.703 MB / 0.9948 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/1.268, allocations: 343.4 kB / 0.9951 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000636/1.268, allocations: 55.89 kB / 0.9951 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.27, allocations: 59.95 kB / 0.9952 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/1.27, allocations: 172 kB / 0.9954 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.27, allocations: 83.83 kB / 0.9954 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0022/1.273, allocations: 1.329 MB / 0.9967 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.273, allocations: 0 / 0.9967 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003619/1.276, allocations: 0.8975 MB / 0.9976 GB, free: 12.87 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009661/1.286, allocations: 5.181 MB / 1.003 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005937/1.292, allocations: 2.974 MB / 1.006 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.292, allocations: 0 / 1.006 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.296, allocations: 2.165 MB / 1.008 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/1.301, allocations: 0.8281 MB / 1.009 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03859/1.339, allocations: 19.14 MB / 1.027 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/1.341, allocations: 1.684 MB / 1.029 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001942/1.343, allocations: 0.5186 MB / 1.029 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/1.344, allocations: 1.159 MB / 1.03 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of SimCode: time 1.072e-06/1.344, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1804/1.525, allocations: 77.94 MB / 1.107 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/17.44, allocations: 0 / 1.107 GB, free: 13.46 MB / 0.8575 GB " [Timeout remaining time 642] (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/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.100327546009794] Failed to read output from testmodel.py, exit status != 0: 17.64353097201092 17.664674092 16.555738415 Calling exit ...