Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.0008009/0.0008009, 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.0007812/0.0007812, 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.9114/0.9114, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.7248/0.7248, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.6181 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.682e-05, allocations: 5.625 kB / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001542/0.001559, allocations: 1.29 MB / 0.6193 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.002011, allocations: 271.1 kB / 0.6196 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.002033, allocations: 4 kB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.002049, allocations: 0 / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.00209, allocations: 7.875 kB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.002346, allocations: 47.8 kB / 0.6197 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.00241, allocations: 19.88 kB / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.002452, allocations: 0 / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.767e-05/0.002509, allocations: 11.98 kB / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.002552, allocations: 0 / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.002566, allocations: 4 kB / 0.6197 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.002657, allocations: 63.88 kB / 0.6198 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.00267, allocations: 7.922 kB / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.002686, allocations: 4 kB / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.002806, allocations: 55.88 kB / 0.6198 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002809, allocations: 0 / 0.6198 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.173e-06/0.00281, allocations: 0 / 0.6198 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.002814, allocations: 0 / 0.6198 GB, free: 10.77 MB / 0.5417 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.0003308/0.003145, allocations: 262.3 kB / 0.6201 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.003182, allocations: 8.031 kB / 0.6201 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.545e-05/0.003207, allocations: 30.75 kB / 0.6201 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.00334, allocations: 24.91 kB / 0.6201 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.777e-05/0.003408, allocations: 109.7 kB / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.003418, allocations: 384 / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.003427, allocations: 4.375 kB / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.003537, allocations: 67.95 kB / 0.6203 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.003545, allocations: 192 / 0.6203 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.003553, allocations: 384 / 0.6203 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.00356, allocations: 12.06 kB / 0.6203 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.109e-05/0.003602, allocations: 15.98 kB / 0.6203 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.00372, allocations: 128.7 kB / 0.6205 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.004577, allocations: 270.4 kB / 0.6207 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.004607, allocations: 20.84 kB / 0.6207 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.004617, allocations: 0 / 0.6207 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.004635, allocations: 34.56 kB / 0.6208 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004636, allocations: 4 kB / 0.6208 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.000133/0.004769, allocations: 61.88 kB / 0.6208 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.004795, allocations: 59.28 kB / 0.6209 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.955e-05/0.004835, allocations: 89.86 kB / 0.621 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.004846, allocations: 29.7 kB / 0.621 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.004865, allocations: 80.14 kB / 0.6211 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.004891, allocations: 15.84 kB / 0.6211 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.004916, allocations: 17.7 kB / 0.6211 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.004985, allocations: 314.8 kB / 0.6214 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.005004, allocations: 4.125 kB / 0.6214 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.005019, allocations: 23.97 kB / 0.6214 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.005053, allocations: 24.86 kB / 0.6215 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005055, allocations: 0 / 0.6215 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.101e-05/0.005106, allocations: 53.62 kB / 0.6215 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005118, allocations: 8 kB / 0.6215 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005122, allocations: 0 / 0.6215 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.005132, allocations: 0 / 0.6215 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.104e-05/0.005163, allocations: 7.938 kB / 0.6215 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.005169, allocations: 0 / 0.6215 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.005183, allocations: 4 kB / 0.6215 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.005187, allocations: 4 kB / 0.6215 GB, free: 8.809 MB / 0.5417 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 4.856e-05/0.005235, allocations: 110.8 kB / 0.6216 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.005242, allocations: 4 kB / 0.6216 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.005264, allocations: 11.52 kB / 0.6217 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005265, allocations: 0 / 0.6217 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.005271, allocations: 3.938 kB / 0.6217 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005273, allocations: 0 / 0.6217 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.557e-05/0.005339, allocations: 132.7 kB / 0.6218 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.005339, allocations: 0 / 0.6218 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.005358, allocations: 7.984 kB / 0.6218 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005359, allocations: 0 / 0.6218 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.005364, allocations: 4 kB / 0.6218 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005365, allocations: 0 / 0.6218 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005366, allocations: 7.938 kB / 0.6218 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.715e-05/0.005433, allocations: 85.02 kB / 0.6219 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.005469, allocations: 4 kB / 0.6219 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.005478, allocations: 0 / 0.6219 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.544e-05/0.005503, allocations: 3.938 kB / 0.6219 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.005516, allocations: 7.922 kB / 0.6219 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.005521, allocations: 4 kB / 0.6219 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.013e-05/0.005541, allocations: 75.28 kB / 0.622 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.005541, allocations: 4.094 kB / 0.622 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001234/0.005664, allocations: 12 kB / 0.622 GB, free: 8.266 MB / 0.5417 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.0002965/0.005961, allocations: 0.6085 MB / 0.6226 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.006038, allocations: 23.98 kB / 0.6226 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.00604, allocations: 0 / 0.6226 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.006055, allocations: 15.98 kB / 0.6226 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.006213, allocations: 10.12 kB / 0.6226 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.006527, allocations: 154.8 kB / 0.6228 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.006565, allocations: 67.33 kB / 0.6228 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.0066, allocations: 7.984 kB / 0.6229 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.006634, allocations: 12.5 kB / 0.6229 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/0.006635, allocations: 0 / 0.6229 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.01922, allocations: 1.987 MB / 0.6248 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.582, allocations: 11.02 kB / 0.6248 GB, free: 5.441 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X_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_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.334085309877992] Failed to read output from testmodel.py, exit status != 0: 6.664044457487762 6.673538094 6.668468533 Calling exit ...