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.001053/0.001053, 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.001068/0.001068, 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.8812/0.8812, 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/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.7311/0.7311, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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 2.364e-06/2.364e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.928e-05, allocations: 2.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002844/0.002873, allocations: 1.285 MB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003918, allocations: 0.771 MB / 0.6201 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.003941, allocations: 0 / 0.6201 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.003969, allocations: 0 / 0.6201 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.004016, allocations: 11.88 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.004536, allocations: 139.2 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.004615, allocations: 27.86 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.004653, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.004708, allocations: 19.92 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.004764, allocations: 11.97 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004779, allocations: 4 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.005026, allocations: 159.7 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.005042, allocations: 4 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.005063, allocations: 11.98 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.005257, allocations: 139.6 kB / 0.6206 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.00526, allocations: 0 / 0.6206 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.603e-06/0.005262, allocations: 0 / 0.6206 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005266, allocations: 0 / 0.6206 GB, free: 11.17 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.0003774/0.005643, allocations: 290 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.005696, allocations: 9.469 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.005729, allocations: 30.75 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.005764, allocations: 8.938 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.005848, allocations: 105.8 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.005977, allocations: 59.95 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.005988, allocations: 384 / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.006122, allocations: 75.89 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.006129, allocations: 192 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006139, allocations: 384 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.006145, allocations: 3.938 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.006208, allocations: 19.98 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.006356, allocations: 128.7 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.006554, allocations: 50.56 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.006588, allocations: 12.8 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.006776, allocations: 28.06 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.006802, allocations: 38.5 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.006803, allocations: 0 / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001993/0.007002, allocations: 77.5 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.00703, allocations: 51.41 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.201e-05/0.007082, allocations: 102 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.007092, allocations: 25.7 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.007114, allocations: 84.14 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.007138, allocations: 11.91 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.007164, allocations: 13.72 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.007241, allocations: 322.8 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.007267, allocations: 4 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.007291, allocations: 20.16 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.007344, allocations: 28.78 kB / 0.6221 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007346, allocations: 4 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.62e-05/0.007422, allocations: 57.69 kB / 0.6222 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.007436, allocations: 4 kB / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00744, allocations: 0 / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007453, allocations: 3.938 kB / 0.6222 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.339e-05/0.007486, allocations: 11.98 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.007492, allocations: 0 / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.007508, allocations: 0 / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.007513, allocations: 4 kB / 0.6222 GB, free: 9.305 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 6.61e-05/0.007579, allocations: 118.8 kB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.007587, allocations: 4 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.007706, allocations: 61.36 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007709, allocations: 3.938 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.007714, allocations: 0 / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007718, allocations: 4 kB / 0.6224 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.434e-05/0.007802, allocations: 128.7 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007804, allocations: 0 / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.007828, allocations: 11.98 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.00783, allocations: 0 / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.007839, allocations: 8 kB / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.007842, allocations: 3.938 kB / 0.6225 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007844, allocations: 3.938 kB / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.667e-05/0.00793, allocations: 81.06 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.007969, allocations: 11.92 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.007977, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.008002, allocations: 11.94 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.008033, allocations: 3.984 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008037, allocations: 4 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.008061, allocations: 75.28 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008061, allocations: 4 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001815/0.008243, allocations: 39.86 kB / 0.6227 GB, free: 8.652 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.0004161/0.008659, allocations: 0.6555 MB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.008774, allocations: 28.02 kB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008775, allocations: 0 / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.008803, allocations: 20.08 kB / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.009009, allocations: 15.92 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.009339, allocations: 162.3 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.594e-05/0.009375, allocations: 59.34 kB / 0.6236 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.009406, allocations: 7.984 kB / 0.6236 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.009435, allocations: 16.5 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of SimCode: time 7.22e-07/0.009435, allocations: 3.938 kB / 0.6237 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.02737, allocations: 2.663 MB / 0.6263 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/6.969, allocations: 0.7031 kB / 0.6263 GB, free: 5.086 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.683371182531118] Failed to read output from testmodel.py, exit status != 0: 7.050495742820203 7.058813039 7.051591493 Calling exit ...