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.001159/0.001159, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 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.00134/0.00134, allocations: 157.3 kB / 22.75 MB, free: 1.68 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 0.95/0.95, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.7169/0.7169, allocations: 118.6 MB / 378.2 MB, free: 1.473 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 1.873e-06/1.873e-06, allocations: 1.5 kB / 482.5 MB, free: 8.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.248e-06/1.112e-05, allocations: 2.312 kB / 482.5 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 0.5314/0.5314, allocations: 416.2 MB / 0.8777 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.5582, allocations: 23.51 MB / 0.9006 GB, free: 5.363 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/0.5623, allocations: 400.1 kB / 0.901 GB, free: 4.969 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004758/0.567, allocations: 2.477 MB / 0.9034 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.3695/0.9365, allocations: 8.578 MB / 0.9118 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.9479, allocations: 5.469 MB / 0.9171 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01234/0.9602, allocations: 9.723 MB / 0.9266 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.9618, allocations: 0.7502 MB / 0.9274 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/0.9751, allocations: 7.42 MB / 0.9346 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.9785, allocations: 1.993 MB / 0.9366 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006668/0.9791, allocations: 314.8 kB / 0.9369 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/0.9911, allocations: 5.461 MB / 0.9422 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006503/0.9917, allocations: 0.8945 MB / 0.9431 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.9941, allocations: 1.653 MB / 0.9447 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/1.013, allocations: 10.78 MB / 0.9552 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.013, allocations: 0 / 0.9552 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.775e-06/1.013, allocations: 2.859 kB / 0.9552 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001948/1.013, allocations: 0 / 0.9552 GB, free: 12.31 MB / 0.7136 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.01136/1.024, allocations: 6.809 MB / 0.9619 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.024, allocations: 9.969 kB / 0.9619 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005199/1.025, allocations: 475.5 kB / 0.9623 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/1.031, allocations: 2.029 MB / 0.9643 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005481/1.036, allocations: 3.895 MB / 0.9681 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005617/1.037, allocations: 1.214 MB / 0.9693 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/1.037, allocations: 367 kB / 0.9696 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/1.042, allocations: 4.077 MB / 0.9736 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/1.042, allocations: 7.188 kB / 0.9736 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/1.043, allocations: 145.6 kB / 0.9738 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/1.043, allocations: 88.53 kB / 0.9739 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004204/1.047, allocations: 2.967 MB / 0.9767 GB, free: 5.77 MB / 0.7136 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.01348/1.06, allocations: 12.8 MB / 0.9893 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/1.063, allocations: 1.923 MB / 0.9911 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/1.064, allocations: 0.972 MB / 0.9921 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.066, allocations: 0.7411 MB / 0.9928 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.066, allocations: 76.08 kB / 0.9929 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=213): time 5.44e-06/1.066, allocations: 0 / 0.9929 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=261): time 0.04113/1.107, allocations: 30.83 MB / 1.023 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/1.107, allocations: 0.517 MB / 1.023 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/1.112, allocations: 4.682 MB / 1.028 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/1.112, allocations: 68.83 kB / 1.028 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/1.113, allocations: 2.376 MB / 1.03 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006057/1.114, allocations: 0.9151 MB / 1.031 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/1.115, allocations: 0.7107 MB / 1.032 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/1.115, allocations: 301.1 kB / 1.032 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.116, allocations: 0.9516 MB / 1.033 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/1.118, allocations: 1.494 MB / 1.035 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/1.122, allocations: 2.435 MB / 1.037 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.122, allocations: 8 kB / 1.037 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005553/1.127, allocations: 3.626 MB / 1.041 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.127, allocations: 12 kB / 1.041 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/1.127, allocations: 16 kB / 1.041 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007634/1.128, allocations: 199.1 kB / 1.041 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/1.13, allocations: 0.8754 MB / 1.042 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006806/1.131, allocations: 1.168 MB / 1.043 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/1.133, allocations: 218.1 kB / 1.043 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004399/1.134, allocations: 401.6 kB / 1.043 GB, free: 9.598 MB / 0.7605 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.001504/1.135, allocations: 0.5929 MB / 1.044 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/1.136, allocations: 0.6824 MB / 1.045 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007479/1.144, allocations: 6.133 MB / 1.051 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.144, allocations: 32 kB / 1.051 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.144, allocations: 4 kB / 1.051 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.144, allocations: 15.95 kB / 1.051 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.156, allocations: 11 MB / 1.061 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.156, allocations: 32 kB / 1.061 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.157, allocations: 0.5251 MB / 1.062 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/1.157, allocations: 203.2 kB / 1.062 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.158, allocations: 116 kB / 1.062 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005772/1.158, allocations: 1.192 MB / 1.063 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.254e-05/1.158, allocations: 49.25 kB / 1.064 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005126/1.163, allocations: 5.131 MB / 1.069 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.165, allocations: 0.7829 MB / 1.069 GB, free: 2.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/1.165, allocations: 95.86 kB / 1.069 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.167, allocations: 143.8 kB / 1.07 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/1.167, allocations: 292.8 kB / 1.07 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.168, allocations: 176 kB / 1.07 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003193/1.171, allocations: 3.213 MB / 1.073 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/1.171, allocations: 4 kB / 1.073 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00426/1.175, allocations: 1.633 MB / 1.075 GB, free: 13.32 MB / 0.7917 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.008251/1.183, allocations: 7.795 MB / 1.082 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004016/1.187, allocations: 2.299 MB / 1.085 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.187, allocations: 4 kB / 1.085 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.189, allocations: 1.179 MB / 1.086 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006729/1.196, allocations: 2.67 MB / 1.088 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04163/1.237, allocations: 34.85 MB / 1.122 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.239, allocations: 1.913 MB / 1.124 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005427/1.244, allocations: 3.572 MB / 1.128 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002517/1.247, allocations: 2.666 MB / 1.13 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of SimCode: time 1.413e-06/1.247, allocations: 0 / 1.13 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3658/1.613, allocations: 158.8 MB / 1.285 GB, free: 493.4 MB / 0.9323 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.97, allocations: 8.562 kB / 1.285 GB, free: 493.4 MB / 0.9323 GB " [Timeout remaining time 643] (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: 19.974977580997802]