Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.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.001353/0.001353, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001431/0.001431, allocations: 213.2 kB / 22.25 MB, free: 3.566 MB / 13.93 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.168/1.168, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7925/0.7925, allocations: 154.1 MB / 466.6 MB, free: 3.301 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 83.88 kB / 0.6438 GB, free: 28.31 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1893, allocations: 88.77 MB / 0.7305 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.644/0.8333, allocations: 133.2 MB / 0.8606 GB, free: 416 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006757/0.8401, allocations: 5.375 MB / 0.8659 GB, free: 0 / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.8413, allocations: 53.08 kB / 0.8659 GB, free: 0 / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.8426, allocations: 352.9 kB / 0.8662 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.8459, allocations: 1.036 MB / 0.8673 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.8472, allocations: 443.5 kB / 0.8677 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.8493, allocations: 1.118 MB / 0.8688 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.8495, allocations: 91.89 kB / 0.8689 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009879/0.8505, allocations: 492.1 kB / 0.8693 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.8512, allocations: 427.7 kB / 0.8697 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.8513, allocations: 43.69 kB / 0.8698 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.8538, allocations: 0.845 MB / 0.8706 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.854, allocations: 124.7 kB / 0.8707 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.8544, allocations: 282.5 kB / 0.871 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.8569, allocations: 1.228 MB / 0.8722 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.8569, allocations: 0 / 0.8722 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8569, allocations: 0 / 0.8722 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.8569, allocations: 1.156 kB / 0.8722 GB, free: 14.89 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002043/0.8589, allocations: 1.053 MB / 0.8732 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.859, allocations: 10.38 kB / 0.8732 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.641e-05/0.8591, allocations: 89.98 kB / 0.8733 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.8593, allocations: 91.28 kB / 0.8734 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.8604, allocations: 0.537 MB / 0.8739 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.8606, allocations: 203.7 kB / 0.8741 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.8607, allocations: 54.59 kB / 0.8742 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.8617, allocations: 0.5271 MB / 0.8747 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.8617, allocations: 0 / 0.8747 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.8618, allocations: 25.45 kB / 0.8747 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.8618, allocations: 11.81 kB / 0.8747 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.8625, allocations: 446.5 kB / 0.8752 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.8646, allocations: 1.505 MB / 0.8766 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.8654, allocations: 320.4 kB / 0.8769 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.8656, allocations: 163.8 kB / 0.8771 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.867, allocations: 0.8183 MB / 0.8779 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.8671, allocations: 37.31 kB / 0.8779 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 1.874e-06/0.8671, allocations: 0 / 0.8779 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001384/0.8684, allocations: 0.512 MB / 0.8784 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.8685, allocations: 59.22 kB / 0.8785 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.8692, allocations: 0.6264 MB / 0.8791 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.8693, allocations: 31.08 kB / 0.8791 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.8695, allocations: 331.4 kB / 0.8794 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.8696, allocations: 131.7 kB / 0.8796 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.8697, allocations: 80.58 kB / 0.8796 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8699, allocations: 324.9 kB / 0.8799 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.8701, allocations: 103.8 kB / 0.88 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.8704, allocations: 183.6 kB / 0.8802 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.8709, allocations: 306.1 kB / 0.8805 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8709, allocations: 0 / 0.8805 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007828/0.8717, allocations: 445.5 kB / 0.8809 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.8717, allocations: 5.562 kB / 0.8809 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.8717, allocations: 2.969 kB / 0.8809 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.8723, allocations: 82.03 kB / 0.881 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.8726, allocations: 90.8 kB / 0.8811 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005059/0.8731, allocations: 0.5701 MB / 0.8817 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.8736, allocations: 57.72 kB / 0.8817 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.8736, allocations: 24.19 kB / 0.8817 GB, free: 10.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002917/0.8739, allocations: 174.8 kB / 0.8819 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.874, allocations: 80.75 kB / 0.882 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.875, allocations: 0.546 MB / 0.8825 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.875, allocations: 6.5 kB / 0.8825 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.875, allocations: 0 / 0.8825 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.875, allocations: 5.719 kB / 0.8825 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.8763, allocations: 0.8771 MB / 0.8834 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8763, allocations: 5.406 kB / 0.8834 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.8764, allocations: 63.69 kB / 0.8835 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.8768, allocations: 84.88 kB / 0.8835 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.8769, allocations: 9.391 kB / 0.8835 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003939/0.8772, allocations: 0.5761 MB / 0.8841 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.8773, allocations: 3 kB / 0.8841 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.8781, allocations: 0.5804 MB / 0.8847 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.8783, allocations: 97.23 kB / 0.8848 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.8784, allocations: 12.84 kB / 0.8848 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.8785, allocations: 17.03 kB / 0.8848 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.8786, allocations: 27.67 kB / 0.8848 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.8786, allocations: 10.38 kB / 0.8848 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005377/0.8792, allocations: 467.1 kB / 0.8853 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8792, allocations: 0 / 0.8853 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007764/0.88, allocations: 216.6 kB / 0.8855 GB, free: 7.691 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (adiabaticFilter.dp) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.8814, allocations: 1.382 MB / 0.8868 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006698/0.882, allocations: 282 kB / 0.8871 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.882, allocations: 0 / 0.8871 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.8823, allocations: 135 kB / 0.8872 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.8834, allocations: 348.9 kB / 0.8876 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.8893, allocations: 4.996 MB / 0.8924 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.8895, allocations: 295.7 kB / 0.8927 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004973/0.89, allocations: 122.7 kB / 0.8928 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.8903, allocations: 254.2 kB / 0.8931 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of SimCode: time 2.184e-06/0.8903, allocations: 0 / 0.8931 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.9344, allocations: 21.85 MB / 0.9144 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/9.601, allocations: 6.594 kB / 0.9144 GB, free: 8.027 MB / 0.6667 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 15.222140544006834]