Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.0007702/0.0007702, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001201/0.001201, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9002/0.9002, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7408/0.7408, allocations: 154.6 MB / 413.8 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.103e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002062/0.002083, allocations: 1.505 MB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.003102, allocations: 0.7554 MB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.003149, allocations: 0 / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.003185, allocations: 3.938 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.003242, allocations: 11.88 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.003766, allocations: 139.3 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.25e-05/0.003858, allocations: 51.78 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.00396, allocations: 8 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.00402, allocations: 39.89 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.004063, allocations: 19.97 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.004078, allocations: 4 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.004346, allocations: 159.7 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.004364, allocations: 8 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.004398, allocations: 23.91 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.004632, allocations: 175.4 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004636, allocations: 0 / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004637, allocations: 0 / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.004642, allocations: 0 / 0.6209 GB, free: 10.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000421/0.005063, allocations: 321.8 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.005106, allocations: 12.03 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.005138, allocations: 30.75 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.005163, allocations: 4.938 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.58e-05/0.005248, allocations: 117.7 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005262, allocations: 4.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.005272, allocations: 4.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.005514, allocations: 74.16 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005522, allocations: 192 / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.005531, allocations: 4.312 kB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005537, allocations: 4.125 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.005686, allocations: 71.92 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.006032, allocations: 243.9 kB / 0.6218 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.006163, allocations: 66.41 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.006242, allocations: 36.91 kB / 0.6219 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.006364, allocations: 16 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.006384, allocations: 38.48 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.006385, allocations: 0 / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003135/0.006699, allocations: 129.5 kB / 0.622 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.006729, allocations: 55.41 kB / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.006801, allocations: 117.2 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.006811, allocations: 33.7 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.006851, allocations: 92.08 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.006865, allocations: 3.953 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.006892, allocations: 17.72 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.006968, allocations: 314.8 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.007042, allocations: 31.97 kB / 0.6227 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.007108, allocations: 31.95 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.007238, allocations: 72.78 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00724, allocations: 0 / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001698/0.00741, allocations: 101.8 kB / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.007424, allocations: 8 kB / 0.6229 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.007429, allocations: 4 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007442, allocations: 4.031 kB / 0.6229 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.007516, allocations: 15.92 kB / 0.6229 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.007521, allocations: 4 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.007556, allocations: 7.984 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.007564, allocations: 7.984 kB / 0.6229 GB, free: 8.527 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 (3): * Single equations (assignments): 3 * 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.677e-05/0.007621, allocations: 110.8 kB / 0.623 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.007637, allocations: 11.89 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.007839, allocations: 109.6 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007841, allocations: 0 / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.007847, allocations: 7.938 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.00785, allocations: 0 / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.007962, allocations: 140.7 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007964, allocations: 3.984 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.008006, allocations: 11.98 kB / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008008, allocations: 4 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.008015, allocations: 4 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008016, allocations: 3.938 kB / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008017, allocations: 0 / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.00821, allocations: 199.4 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.008219, allocations: 3.938 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.008232, allocations: 4 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.008283, allocations: 15.98 kB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.008321, allocations: 3.984 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.008325, allocations: 4 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.008361, allocations: 87.28 kB / 0.6236 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008361, allocations: 3.938 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002078/0.008568, allocations: 39.86 kB / 0.6236 GB, free: 7.695 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 (3): * Single equations (assignments): 3 * 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.0004889/0.009057, allocations: 0.7669 MB / 0.6244 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.009257, allocations: 67.92 kB / 0.6245 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.009259, allocations: 0 / 0.6245 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.009339, allocations: 39.89 kB / 0.6245 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.009596, allocations: 14.03 kB / 0.6245 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.0108, allocations: 1.421 MB / 0.6259 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.01085, allocations: 67.34 kB / 0.626 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.01088, allocations: 0 / 0.626 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.01093, allocations: 24.81 kB / 0.626 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/0.01093, allocations: 0 / 0.626 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.02894, allocations: 3.238 MB / 0.6292 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/6.873, allocations: 4.453 kB / 0.6292 GB, free: 2.094 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.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_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.770652377046645] Failed to read output from testmodel.py, exit status != 0: 6.955876769497991 6.971618506 6.963708305 Calling exit ...