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.001317/0.001317, 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.001449/0.001449, 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.168/1.168, 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.9488/0.9488, allocations: 118.6 MB / 377.8 MB, free: 1.605 MB / 346.7 MB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 0.5573 GB, free: 8.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.067e-05, allocations: 2.281 kB / 0.5573 GB, free: 8.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Setpoint): time 1.926/1.926, allocations: 416.2 MB / 0.9637 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.04598/1.972, allocations: 23.51 MB / 0.9867 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01344/1.985, allocations: 399.9 kB / 0.9871 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.01248/1.998, allocations: 2.473 MB / 0.9895 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.04046/2.038, allocations: 8.606 MB / 0.9979 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0237/2.062, allocations: 5.467 MB / 1.003 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.02562/2.088, allocations: 9.731 MB / 1.013 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004098/2.092, allocations: 0.7531 MB / 1.013 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03003/2.122, allocations: 7.412 MB / 1.021 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008955/2.131, allocations: 1.998 MB / 1.023 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002077/2.133, allocations: 312.9 kB / 1.023 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02808/2.161, allocations: 5.455 MB / 1.028 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002865/2.164, allocations: 0.8987 MB / 1.029 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.007589/2.171, allocations: 1.653 MB / 1.031 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.04299/2.214, allocations: 10.76 MB / 1.041 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/2.214, allocations: 0 / 1.041 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.994e-06/2.214, allocations: 0 / 1.041 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004104/2.215, allocations: 3.938 kB / 1.041 GB, free: 8.703 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.02622/2.241, allocations: 6.807 MB / 1.048 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001208/2.241, allocations: 8.531 kB / 1.048 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00122/2.242, allocations: 478.7 kB / 1.048 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007733/2.25, allocations: 1.473 MB / 1.05 GB, free: 5.301 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/2.263, allocations: 3.542 MB / 1.053 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001434/2.265, allocations: 1.218 MB / 1.054 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/2.267, allocations: 361 kB / 1.055 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008519/2.275, allocations: 4.072 MB / 1.059 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.925e-05/2.275, allocations: 5.094 kB / 1.059 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004168/2.276, allocations: 146.4 kB / 1.059 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-05/2.276, allocations: 87.59 kB / 1.059 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00684/2.283, allocations: 2.976 MB / 1.062 GB, free: 1.59 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.03233/2.315, allocations: 12.67 MB / 1.074 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/2.32, allocations: 1.934 MB / 1.076 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00267/2.323, allocations: 0.9613 MB / 1.077 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/2.325, allocations: 0.7244 MB / 1.078 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.115e-05/2.325, allocations: 73.16 kB / 1.078 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=213): time 7.074e-06/2.325, allocations: 2.5 kB / 1.078 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261): time 0.05786/2.383, allocations: 30.77 MB / 1.108 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003447/2.383, allocations: 0.5142 MB / 1.108 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007945/2.391, allocations: 4.685 MB / 1.113 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/2.392, allocations: 69.7 kB / 1.113 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/2.394, allocations: 2.375 MB / 1.115 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/2.395, allocations: 0.9082 MB / 1.116 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/2.396, allocations: 0.7161 MB / 1.117 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004447/2.397, allocations: 301.1 kB / 1.117 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/2.399, allocations: 0.9578 MB / 1.118 GB, free: 60 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/2.402, allocations: 1.503 MB / 1.12 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/2.406, allocations: 2.453 MB / 1.122 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/2.406, allocations: 4 kB / 1.122 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.009828/2.416, allocations: 3.514 MB / 1.126 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/2.416, allocations: 15.98 kB / 1.126 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/2.416, allocations: 16 kB / 1.126 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/2.417, allocations: 189.6 kB / 1.126 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/2.42, allocations: 0.8844 MB / 1.127 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/2.421, allocations: 1.161 MB / 1.128 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/2.426, allocations: 227.4 kB / 1.128 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007146/2.427, allocations: 403.9 kB / 1.128 GB, free: 5.449 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.002987/2.43, allocations: 0.603 MB / 1.129 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002335/2.432, allocations: 0.6016 MB / 1.13 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/2.443, allocations: 6.169 MB / 1.136 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/2.443, allocations: 27.98 kB / 1.136 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/2.443, allocations: 4 kB / 1.136 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/2.443, allocations: 19.95 kB / 1.136 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/2.466, allocations: 11 MB / 1.146 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/2.466, allocations: 32.06 kB / 1.146 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/2.468, allocations: 0.5215 MB / 1.147 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00089/2.468, allocations: 205.6 kB / 1.147 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/2.469, allocations: 119.9 kB / 1.147 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/2.47, allocations: 1.187 MB / 1.148 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.933e-05/2.47, allocations: 51.09 kB / 1.148 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009341/2.479, allocations: 5.067 MB / 1.153 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004469/2.484, allocations: 0.767 MB / 1.154 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002129/2.486, allocations: 103.8 kB / 1.154 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00465/2.49, allocations: 135.9 kB / 1.154 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006426/2.491, allocations: 288.6 kB / 1.155 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003649/2.491, allocations: 180 kB / 1.155 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007176/2.499, allocations: 3.217 MB / 1.158 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/2.499, allocations: 0 / 1.158 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01204/2.511, allocations: 1.63 MB / 1.16 GB, free: 5.109 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.017/2.528, allocations: 7.729 MB / 1.167 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007317/2.535, allocations: 2.291 MB / 1.169 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.236e-05/2.535, allocations: 4.812 kB / 1.169 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00312/2.538, allocations: 1.186 MB / 1.17 GB, free: 10 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01538/2.553, allocations: 2.526 MB / 1.173 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08782/2.641, allocations: 34.52 MB / 1.207 GB, free: 3.898 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/2.644, allocations: 1.913 MB / 1.208 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009816/2.654, allocations: 3.587 MB / 1.212 GB, free: 14.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00465/2.659, allocations: 2.67 MB / 1.215 GB, free: 11.77 MB / 0.948 GB Notification: Performance of SimCode: time 2.986e-06/2.659, allocations: 0 / 1.215 GB, free: 11.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7986/3.457, allocations: 158 MB / 1.369 GB, free: 0.4967 GB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.18/24.64, allocations: 4.062 kB / 1.369 GB, free: 0.4967 GB / 1.026 GB " [Timeout remaining time 635] (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: 28.829803269007243]