Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.0009141/0.0009141, 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.0009438/0.0009438, 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 0.9334/0.9334, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7588/0.7588, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.176e-05, allocations: 3.875 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00166/0.001681, allocations: 1.286 MB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000967/0.002648, allocations: 0.7671 MB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.002675, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.002697, allocations: 3.984 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.002743, allocations: 7.922 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.003317, allocations: 135.2 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.003405, allocations: 31.91 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.003449, allocations: 0 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.003515, allocations: 19.92 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.003587, allocations: 7.984 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.00361, allocations: 4 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.003888, allocations: 159.7 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.003913, allocations: 7.969 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.003939, allocations: 8 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.004159, allocations: 135.5 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004162, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.242e-06/0.004163, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.004168, allocations: 4 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004414/0.00461, allocations: 294 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.004657, allocations: 9.469 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.00469, allocations: 34.75 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.004725, allocations: 4.938 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.004821, allocations: 105.8 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.004909, allocations: 59.97 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.004918, allocations: 384 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.00506, allocations: 71.95 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005069, allocations: 4.188 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.005081, allocations: 384 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005088, allocations: 3.938 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.005149, allocations: 23.92 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.005293, allocations: 124.8 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.005474, allocations: 42.61 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.005508, allocations: 16.94 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.005664, allocations: 27.97 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.005683, allocations: 38.56 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005684, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.005864, allocations: 77.5 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.005891, allocations: 51.41 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.923e-05/0.005941, allocations: 97.98 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.005952, allocations: 25.7 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.005972, allocations: 84.08 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.005998, allocations: 19.88 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.006025, allocations: 21.66 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.006104, allocations: 322.8 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.006136, allocations: 4 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.006161, allocations: 20.16 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.006214, allocations: 24.84 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006216, allocations: 0 / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.676e-05/0.006293, allocations: 61.62 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.006305, allocations: 4 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00631, allocations: 0 / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.006323, allocations: 11.92 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.252e-05/0.006355, allocations: 8 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.00636, allocations: 0 / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.006375, allocations: 0 / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.00638, allocations: 4 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 5.351e-05/0.006434, allocations: 106.8 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.006439, allocations: 4 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.006551, allocations: 73.28 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006554, allocations: 3.938 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.006558, allocations: 4 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006561, allocations: 4 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.112e-05/0.006632, allocations: 124.7 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006632, allocations: 0 / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.006652, allocations: 11.98 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006653, allocations: 0 / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006659, allocations: 0 / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.006662, allocations: 7.938 kB / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006663, allocations: 0 / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.436e-05/0.006748, allocations: 85.05 kB / 0.6226 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.006778, allocations: 8 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.006787, allocations: 0 / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.006813, allocations: 11.92 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.006843, allocations: 4 kB / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006847, allocations: 7.938 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.49e-05/0.006872, allocations: 75.28 kB / 0.6227 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006872, allocations: 0 / 0.6227 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001631/0.007035, allocations: 43.8 kB / 0.6227 GB, free: 8.582 MB / 0.5886 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 (4): * Single equations (assignments): 4 * 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.0006451/0.00768, allocations: 0.6557 MB / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.693e-05/0.007777, allocations: 27.97 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007778, allocations: 0 / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/0.007806, allocations: 20.06 kB / 0.6234 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.007971, allocations: 15.88 kB / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.008284, allocations: 158.3 kB / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.008319, allocations: 55.36 kB / 0.6236 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.008349, allocations: 15.97 kB / 0.6237 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.00838, allocations: 16.5 kB / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.00838, allocations: 0 / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.02533, allocations: 2.663 MB / 0.6263 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.094, allocations: 3.359 kB / 0.6263 GB, free: 5.02 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.062321309931576] Failed to read output from testmodel.py, exit status != 0: 7.176890215836465 7.186138698 7.180188542 Calling exit ...