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.0008053/0.0008053, allocations: 80.44 kB / 19.17 MB, free: 0.7305 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.0008262/0.0008262, allocations: 165.2 kB / 22.46 MB, free: 2.098 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.8697/0.8697, 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.7029/0.7029, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.683e-06/1.683e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.334e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00147/0.001484, allocations: 1.276 MB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.001891, allocations: 267.1 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.001914, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.001931, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.001974, allocations: 11.91 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.002223, allocations: 51.77 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.002282, allocations: 19.86 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.002318, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.002369, allocations: 15.97 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.002414, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.002428, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.002514, allocations: 51.89 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.002525, allocations: 3.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.002542, allocations: 11.92 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.002647, allocations: 51.88 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00265, allocations: 4 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00265, allocations: 4 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.002655, allocations: 0 / 0.6198 GB, free: 11.88 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.000289/0.002944, allocations: 260.5 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.00298, allocations: 8.031 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.003006, allocations: 34.69 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.003136, allocations: 20.92 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.269e-05/0.003198, allocations: 113.8 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.003207, allocations: 384 / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.003213, allocations: 4.375 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.003315, allocations: 67.95 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.003321, allocations: 192 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.003329, allocations: 384 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.003334, allocations: 4.125 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.003374, allocations: 16 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.003492, allocations: 136.6 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.004329, allocations: 270.4 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.004357, allocations: 16.86 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.004367, allocations: 0 / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.004387, allocations: 38.55 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004388, allocations: 0 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001304/0.004518, allocations: 65.81 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.004542, allocations: 55.34 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.765e-05/0.00458, allocations: 93.86 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.00459, allocations: 25.7 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.004609, allocations: 88.14 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.004633, allocations: 11.84 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.004658, allocations: 17.72 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.004731, allocations: 314.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.004745, allocations: 8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.004759, allocations: 11.98 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.004792, allocations: 24.84 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004794, allocations: 0 / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.206e-05/0.004846, allocations: 53.64 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.004858, allocations: 14 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.004862, allocations: 0 / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.004873, allocations: 3.984 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.184e-05/0.004904, allocations: 7.938 kB / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004909, allocations: 3.984 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.004925, allocations: 8 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.004929, allocations: 3.938 kB / 0.6215 GB, free: 9.91 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 4.665e-05/0.004975, allocations: 106.8 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-06/0.004981, allocations: 4 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.005002, allocations: 7.531 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.005003, allocations: 4 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.005007, allocations: 3.938 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.005011, allocations: 3.984 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.22e-05/0.005073, allocations: 124.7 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005074, allocations: 4 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.005089, allocations: 7.938 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.00509, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.005095, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.005095, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.005097, allocations: 7.875 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.522e-05/0.005162, allocations: 89.11 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.005194, allocations: 4 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.005203, allocations: 4 kB / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.005226, allocations: 0 / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.005239, allocations: 7.922 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.005243, allocations: 4 kB / 0.6219 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.08e-05/0.005264, allocations: 79.28 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005264, allocations: 0 / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001133/0.005377, allocations: 4 kB / 0.622 GB, free: 9.379 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.0002104/0.005588, allocations: 0.6164 MB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.005656, allocations: 23.98 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005658, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.005672, allocations: 15.94 kB / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.005828, allocations: 11.92 kB / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.00613, allocations: 150.9 kB / 0.6228 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.006169, allocations: 65.22 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.006197, allocations: 4 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.006232, allocations: 16.48 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.006232, allocations: 0 / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.01914, allocations: 1.988 MB / 0.6248 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.923, allocations: 5 kB / 0.6248 GB, free: 6.547 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.54443882778287] Failed to read output from testmodel.py, exit status != 0: 6.999358782544732 7.008212451 7.003858506 Calling exit ...