Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.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.001497/0.001497, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001147/0.001147, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.152/1.152, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.9192/0.9192, allocations: 118.6 MB / 377.8 MB, free: 1.613 MB / 346.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.Setpoint,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.088e-06/4.088e-06, allocations: 0 / 0.5573 GB, free: 8.973 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.892e-05/4.301e-05, allocations: 6.281 kB / 0.5573 GB, free: 8.965 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 1.889/1.889, allocations: 416.2 MB / 0.9637 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03757/1.926, allocations: 23.52 MB / 0.9867 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01196/1.938, allocations: 398.2 kB / 0.9871 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/1.949, allocations: 2.475 MB / 0.9895 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.03458/1.983, allocations: 8.595 MB / 0.9979 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.02105/2.004, allocations: 5.476 MB / 1.003 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.02079/2.025, allocations: 9.73 MB / 1.013 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/2.028, allocations: 0.7475 MB / 1.013 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02357/2.052, allocations: 7.417 MB / 1.021 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006683/2.058, allocations: 1.995 MB / 1.023 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001175/2.059, allocations: 320.9 kB / 1.023 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02276/2.082, allocations: 5.453 MB / 1.028 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001962/2.084, allocations: 0.8961 MB / 1.029 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.005683/2.09, allocations: 1.649 MB / 1.031 GB, free: 9.824 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.03745/2.127, allocations: 10.76 MB / 1.041 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/2.127, allocations: 3 kB / 1.041 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.789e-06/2.127, allocations: 0 / 1.041 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002881/2.128, allocations: 0 / 1.041 GB, free: 8.688 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 888 * Number of variables: 888 Notification: Performance of Generate backend data structure: time 0.01619/2.144, allocations: 6.808 MB / 1.048 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 7.402e-05/2.144, allocations: 7.844 kB / 1.048 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006592/2.145, allocations: 479.1 kB / 1.048 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/2.151, allocations: 1.479 MB / 1.05 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008015/2.159, allocations: 3.536 MB / 1.053 GB, free: 4.203 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008749/2.16, allocations: 1.215 MB / 1.054 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006431/2.16, allocations: 368 kB / 1.055 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/2.167, allocations: 4.073 MB / 1.059 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/2.167, allocations: 5.219 kB / 1.059 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/2.168, allocations: 147.1 kB / 1.059 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-05/2.168, allocations: 87.12 kB / 1.059 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005257/2.173, allocations: 2.972 MB / 1.062 GB, free: 1.535 MB / 0.7917 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/2.192, allocations: 12.67 MB / 1.074 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/2.196, allocations: 1.929 MB / 1.076 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/2.197, allocations: 0.9681 MB / 1.077 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/2.199, allocations: 0.7194 MB / 1.078 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/2.199, allocations: 80.03 kB / 1.078 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=213): time 3.827e-06/2.199, allocations: 0 / 1.078 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261): time 0.04739/2.246, allocations: 30.77 MB / 1.108 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/2.246, allocations: 0.5217 MB / 1.108 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/2.252, allocations: 4.681 MB / 1.113 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004835/2.252, allocations: 65.7 kB / 1.113 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/2.254, allocations: 2.381 MB / 1.115 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008742/2.255, allocations: 0.9102 MB / 1.116 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008281/2.255, allocations: 0.7122 MB / 1.117 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/2.256, allocations: 305.1 kB / 1.117 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/2.257, allocations: 0.95 MB / 1.118 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/2.26, allocations: 1.503 MB / 1.12 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/2.263, allocations: 2.453 MB / 1.122 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/2.263, allocations: 8 kB / 1.122 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.006003/2.269, allocations: 3.515 MB / 1.126 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/2.269, allocations: 12 kB / 1.126 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/2.269, allocations: 12 kB / 1.126 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008391/2.27, allocations: 195 kB / 1.126 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/2.273, allocations: 0.8759 MB / 1.127 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008677/2.273, allocations: 1.169 MB / 1.128 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/2.277, allocations: 215.4 kB / 1.128 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/2.278, allocations: 411.9 kB / 1.128 GB, free: 5.32 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (340): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002374/2.28, allocations: 0.5961 MB / 1.129 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/2.281, allocations: 0.6016 MB / 1.13 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008487/2.29, allocations: 6.168 MB / 1.136 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/2.29, allocations: 28 kB / 1.136 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/2.29, allocations: 11.98 kB / 1.136 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/2.29, allocations: 15.97 kB / 1.136 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/2.305, allocations: 11 MB / 1.146 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/2.305, allocations: 32 kB / 1.146 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/2.306, allocations: 0.5219 MB / 1.147 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/2.307, allocations: 212.8 kB / 1.147 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/2.307, allocations: 119.9 kB / 1.147 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009084/2.308, allocations: 1.186 MB / 1.148 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-05/2.308, allocations: 51.38 kB / 1.148 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006827/2.315, allocations: 5.056 MB / 1.153 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002315/2.317, allocations: 0.7749 MB / 1.154 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/2.318, allocations: 95.8 kB / 1.154 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/2.32, allocations: 147.9 kB / 1.154 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/2.32, allocations: 284.3 kB / 1.155 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/2.32, allocations: 179.9 kB / 1.155 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004362/2.325, allocations: 3.209 MB / 1.158 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/2.325, allocations: 0 / 1.158 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007522/2.332, allocations: 1.63 MB / 1.159 GB, free: 4.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 4 (p_out5.dp,p_out2.dp,pRatio2.dp,dp2.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 (221): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01147/2.344, allocations: 7.732 MB / 1.167 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005245/2.349, allocations: 2.29 MB / 1.169 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.687e-05/2.349, allocations: 4 kB / 1.169 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/2.351, allocations: 1.183 MB / 1.17 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009598/2.361, allocations: 2.53 MB / 1.173 GB, free: 7.453 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05571/2.416, allocations: 34.53 MB / 1.207 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/2.418, allocations: 1.91 MB / 1.208 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007071/2.425, allocations: 3.589 MB / 1.212 GB, free: 14.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/2.428, allocations: 2.663 MB / 1.215 GB, free: 11.64 MB / 0.948 GB Notification: Performance of SimCode: time 2.655e-06/2.428, allocations: 0 / 1.215 GB, free: 11.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.748/3.176, allocations: 158 MB / 1.369 GB, free: 0.4961 GB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.71/22.89, allocations: 3.938 kB / 1.369 GB, free: 0.4961 GB / 1.026 GB " [Timeout remaining time 637] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Setpoint.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_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.Setpoint_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_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_Setpoint.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 26.939137663692236]