Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001826/0.001826, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002133/0.002133, allocations: 220.4 kB / 22.26 MB, free: 5.125 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00243/0.00243, allocations: 282.9 kB / 312.7 MB, free: 2.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002878/0.002878, allocations: 105.8 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2084, allocations: 95.37 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003156/0.2115, allocations: 1.706 MB / 0.8344 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.2124, allocations: 406.8 kB / 0.8348 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.2125, allocations: 3.938 kB / 0.8348 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.2126, allocations: 11.86 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.2126, allocations: 23.8 kB / 0.8348 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.2131, allocations: 118.1 kB / 0.8349 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.2133, allocations: 107.6 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2134, allocations: 36.19 kB / 0.8351 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.2135, allocations: 43.86 kB / 0.8351 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.2136, allocations: 39.78 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2136, allocations: 15.98 kB / 0.8352 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.2137, allocations: 59.95 kB / 0.8352 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.2138, allocations: 19.98 kB / 0.8352 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.2138, allocations: 47.72 kB / 0.8353 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.2141, allocations: 135.5 kB / 0.8354 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2141, allocations: 0 / 0.8354 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2141, allocations: 0 / 0.8354 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2141, allocations: 0 / 0.8354 GB, free: 5.918 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000639/0.2147, allocations: 345.8 kB / 0.8357 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.2148, allocations: 9.344 kB / 0.8357 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.2148, allocations: 38.75 kB / 0.8358 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.2151, allocations: 32.8 kB / 0.8358 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2153, allocations: 138.4 kB / 0.8359 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.2154, allocations: 55.97 kB / 0.836 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2154, allocations: 8.375 kB / 0.836 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.2157, allocations: 109.9 kB / 0.8361 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2157, allocations: 0 / 0.8361 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2157, allocations: 0 / 0.8361 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2157, allocations: 4 kB / 0.8361 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.216, allocations: 79.94 kB / 0.8362 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.2168, allocations: 367.4 kB / 0.8365 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.2173, allocations: 118.6 kB / 0.8367 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.2174, allocations: 44.86 kB / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2175, allocations: 4 kB / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2175, allocations: 38.5 kB / 0.8367 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 3.006e-06/0.2175, allocations: 3.984 kB / 0.8367 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004619/0.218, allocations: 133.7 kB / 0.8369 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.218, allocations: 63.33 kB / 0.8369 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2181, allocations: 141.5 kB / 0.8371 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.2182, allocations: 29.7 kB / 0.8371 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.2182, allocations: 96.14 kB / 0.8372 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.2183, allocations: 23.73 kB / 0.8372 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.2183, allocations: 25.72 kB / 0.8372 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2185, allocations: 318.8 kB / 0.8375 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2186, allocations: 31.97 kB / 0.8376 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.2187, allocations: 49.64 kB / 0.8376 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.219, allocations: 77.67 kB / 0.8377 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.219, allocations: 0 / 0.8377 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002708/0.2192, allocations: 109.5 kB / 0.8378 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2193, allocations: 8 kB / 0.8378 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2193, allocations: 4.031 kB / 0.8378 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2193, allocations: 3.938 kB / 0.8378 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2194, allocations: 15.98 kB / 0.8378 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2194, allocations: 4 kB / 0.8378 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-05/0.2195, allocations: 7.984 kB / 0.8378 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2195, allocations: 8 kB / 0.8378 GB, free: 3.207 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.2196, allocations: 110.5 kB / 0.8379 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.2196, allocations: 11.95 kB / 0.838 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.2197, allocations: 16.7 kB / 0.838 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2197, allocations: 7.875 kB / 0.838 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2197, allocations: 0 / 0.838 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2197, allocations: 4 kB / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.2199, allocations: 176.6 kB / 0.8382 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2199, allocations: 3.938 kB / 0.8382 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.22, allocations: 19.92 kB / 0.8382 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.22, allocations: 4 kB / 0.8382 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.22, allocations: 0 / 0.8382 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2201, allocations: 3.938 kB / 0.8382 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2201, allocations: 4 kB / 0.8382 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.2204, allocations: 199.5 kB / 0.8384 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.2204, allocations: 7.953 kB / 0.8384 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2205, allocations: 0 / 0.8384 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2206, allocations: 19.92 kB / 0.8384 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.2207, allocations: 11.92 kB / 0.8384 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2207, allocations: 4 kB / 0.8384 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.085e-05/0.2208, allocations: 107.2 kB / 0.8385 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2208, allocations: 0 / 0.8385 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002568/0.221, allocations: 20 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007556/0.2218, allocations: 0.7287 MB / 0.8393 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.2221, allocations: 79.94 kB / 0.8393 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2221, allocations: 0 / 0.8393 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2222, allocations: 31.98 kB / 0.8394 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2226, allocations: 35.97 kB / 0.8394 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.2246, allocations: 1.556 MB / 0.8409 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.225, allocations: 0.6963 MB / 0.8416 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.349e-05/0.2251, allocations: 12.66 kB / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.2251, allocations: 27.62 kB / 0.8416 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.2251, allocations: 0 / 0.8416 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.2544, allocations: 2.888 MB / 0.8445 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.73, allocations: 3.984 kB / 0.8445 GB, free: 12.38 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.111279380002088] Failed to read output from testmodel.py, exit status != 0: 10.835801995999645 10.852029159 10.634767081 Calling exit ...