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.0009058/0.0009058, allocations: 84.72 kB / 19.44 MB, free: 344 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.0008306/0.0008306, allocations: 157.3 kB / 22.76 MB, free: 1.668 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.8968/0.8968, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.6214/0.6214, allocations: 118.6 MB / 378.2 MB, free: 1.461 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.022e-06/1.022e-06, allocations: 0 / 482.5 MB, free: 8.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.397e-05, allocations: 7.469 kB / 482.5 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 0.5048/0.5048, allocations: 416.2 MB / 0.8777 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.5281, allocations: 23.51 MB / 0.9006 GB, free: 5.363 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004328/0.5324, allocations: 408.1 kB / 0.901 GB, free: 4.961 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004595/0.537, allocations: 2.469 MB / 0.9034 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.3862/0.9232, allocations: 8.58 MB / 0.9118 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.9351, allocations: 5.469 MB / 0.9171 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01353/0.9486, allocations: 9.722 MB / 0.9266 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.9511, allocations: 0.7509 MB / 0.9274 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.9667, allocations: 7.42 MB / 0.9346 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/0.9712, allocations: 1.997 MB / 0.9366 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.9723, allocations: 314.6 kB / 0.9369 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.9863, allocations: 5.457 MB / 0.9422 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009636/0.9872, allocations: 0.9008 MB / 0.9431 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003191/0.9904, allocations: 1.651 MB / 0.9447 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02143/1.012, allocations: 10.78 MB / 0.9552 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.012, allocations: 0 / 0.9552 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/1.012, allocations: 0 / 0.9552 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002859/1.012, allocations: 1.75 kB / 0.9552 GB, free: 12.23 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.0146/1.027, allocations: 6.808 MB / 0.9619 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.027, allocations: 8.75 kB / 0.9619 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004681/1.027, allocations: 480.2 kB / 0.9623 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/1.034, allocations: 2.026 MB / 0.9643 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/1.04, allocations: 3.892 MB / 0.9681 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006427/1.041, allocations: 1.214 MB / 0.9693 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/1.041, allocations: 367.7 kB / 0.9696 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005927/1.047, allocations: 4.075 MB / 0.9736 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-05/1.047, allocations: 8.156 kB / 0.9736 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/1.047, allocations: 146.5 kB / 0.9738 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-05/1.047, allocations: 84.78 kB / 0.9738 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/1.052, allocations: 2.966 MB / 0.9767 GB, free: 5.703 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.01669/1.069, allocations: 12.8 MB / 0.9892 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/1.072, allocations: 1.927 MB / 0.9911 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/1.073, allocations: 0.9696 MB / 0.9921 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/1.075, allocations: 0.7359 MB / 0.9928 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.138e-05/1.075, allocations: 85.02 kB / 0.9929 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=213): time 5.801e-06/1.075, allocations: 0 / 0.9929 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=261): time 0.04079/1.116, allocations: 30.81 MB / 1.023 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/1.116, allocations: 0.5257 MB / 1.023 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/1.12, allocations: 4.681 MB / 1.028 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/1.121, allocations: 72.14 kB / 1.028 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.122, allocations: 2.372 MB / 1.03 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006295/1.123, allocations: 0.921 MB / 1.031 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007936/1.123, allocations: 0.705 MB / 1.032 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.256e-05/1.124, allocations: 301.1 kB / 1.032 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/1.125, allocations: 0.9486 MB / 1.033 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.127, allocations: 1.49 MB / 1.035 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/1.131, allocations: 2.45 MB / 1.037 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.131, allocations: 4 kB / 1.037 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005265/1.136, allocations: 3.625 MB / 1.041 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.136, allocations: 8 kB / 1.041 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.136, allocations: 16 kB / 1.041 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006497/1.136, allocations: 201.3 kB / 1.041 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.138, allocations: 0.8723 MB / 1.042 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007547/1.139, allocations: 1.174 MB / 1.043 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.142, allocations: 213.1 kB / 1.043 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/1.142, allocations: 403.7 kB / 1.043 GB, free: 9.582 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.001884/1.144, allocations: 0.5962 MB / 1.044 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009795/1.145, allocations: 0.6914 MB / 1.045 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007163/1.152, allocations: 6.127 MB / 1.051 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.152, allocations: 28 kB / 1.051 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.152, allocations: 11.98 kB / 1.051 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/1.152, allocations: 15.97 kB / 1.051 GB, free: 3.434 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/1.165, allocations: 11 MB / 1.061 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.165, allocations: 28.88 kB / 1.061 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.167, allocations: 0.5254 MB / 1.062 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/1.167, allocations: 205.6 kB / 1.062 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.167, allocations: 112 kB / 1.062 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005526/1.168, allocations: 1.197 MB / 1.063 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/1.168, allocations: 44.56 kB / 1.064 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/1.173, allocations: 5.128 MB / 1.069 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.175, allocations: 0.7866 MB / 1.069 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/1.175, allocations: 91.86 kB / 1.069 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/1.177, allocations: 147.8 kB / 1.07 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/1.177, allocations: 285.6 kB / 1.07 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.177, allocations: 176 kB / 1.07 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003406/1.181, allocations: 3.216 MB / 1.073 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/1.181, allocations: 0 / 1.073 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004483/1.185, allocations: 1.63 MB / 1.075 GB, free: 13.26 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.008949/1.194, allocations: 7.799 MB / 1.082 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004417/1.199, allocations: 2.295 MB / 1.085 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.199, allocations: 4 kB / 1.085 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/1.2, allocations: 1.187 MB / 1.086 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/1.207, allocations: 2.661 MB / 1.088 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04349/1.251, allocations: 34.86 MB / 1.122 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.252, allocations: 1.913 MB / 1.124 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006005/1.258, allocations: 3.57 MB / 1.128 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002655/1.261, allocations: 2.662 MB / 1.13 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of SimCode: time 1.643e-06/1.261, allocations: 0 / 1.13 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3467/1.608, allocations: 159 MB / 1.286 GB, free: 493.5 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 14.15/15.76, allocations: 15.92 kB / 1.286 GB, free: 493.5 MB / 0.9323 GB " [Timeout remaining time 644] (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: 18.52281353395665]