Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000895/0.000895, 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.001043/0.001043, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.941/0.941, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7199/0.7199, 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.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.97e-05, allocations: 4.953 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002349/0.002369, allocations: 1.279 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000647/0.003016, allocations: 267.1 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.003046, allocations: 4 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.003073, allocations: 0 / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.003124, allocations: 7.922 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.003452, allocations: 55.69 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.003531, allocations: 15.92 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.003578, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.003645, allocations: 11.98 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.003699, allocations: 7.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.003714, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.003839, allocations: 55.88 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.003855, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.003876, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.004031, allocations: 51.88 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004034, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004034, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004039, allocations: 0 / 0.6198 GB, free: 11.95 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.0003895/0.004428, allocations: 262.3 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.004472, allocations: 13.47 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.004509, allocations: 30.75 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.00471, allocations: 24.86 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/0.004801, allocations: 105.7 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.004814, allocations: 384 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.004824, allocations: 8.375 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.004962, allocations: 71.94 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.00497, allocations: 192 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.004981, allocations: 384 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.004987, allocations: 4.125 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/0.005041, allocations: 12 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.005211, allocations: 132.8 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.006638, allocations: 274.3 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.00669, allocations: 16.86 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.006703, allocations: 0 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.006729, allocations: 30.56 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.006731, allocations: 3.938 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.006917, allocations: 65.67 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.006954, allocations: 59.28 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.007014, allocations: 97.86 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.00703, allocations: 29.7 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.007055, allocations: 80.14 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.007088, allocations: 15.84 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.00714, allocations: 13.72 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.007221, allocations: 318.8 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.007243, allocations: 8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.007257, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.007296, allocations: 28.86 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007298, allocations: 0 / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.006e-05/0.007358, allocations: 53.69 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.007369, allocations: 12.06 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007374, allocations: 0 / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007386, allocations: 0 / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.007432, allocations: 15.92 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.007436, allocations: 0 / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.00745, allocations: 0 / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.007454, allocations: 3.938 kB / 0.6215 GB, free: 9.988 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.015e-05/0.007504, allocations: 110.8 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.007511, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.007534, allocations: 7.531 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007537, allocations: 8 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.007541, allocations: 3.938 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.007543, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.119e-05/0.007614, allocations: 128.7 kB / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007616, allocations: 4 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.007634, allocations: 8 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.007635, allocations: 4 kB / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.007641, allocations: 0 / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007642, allocations: 0 / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007644, allocations: 3.938 kB / 0.6217 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.942e-05/0.007713, allocations: 81.38 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.007754, allocations: 8.047 kB / 0.6218 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.007762, allocations: 3.984 kB / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.898e-05/0.007791, allocations: 0 / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.007804, allocations: 7.938 kB / 0.6218 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.00781, allocations: 7.984 kB / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.24e-05/0.007832, allocations: 75.28 kB / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007832, allocations: 0 / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001196/0.007952, allocations: 11.94 kB / 0.6219 GB, free: 9.445 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.0002954/0.008247, allocations: 0.6124 MB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.008317, allocations: 24.08 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008318, allocations: 4 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.008332, allocations: 12 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.008487, allocations: 13.8 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.008797, allocations: 158.4 kB / 0.6227 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.008832, allocations: 59.36 kB / 0.6228 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.008865, allocations: 11.98 kB / 0.6228 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.008895, allocations: 8.5 kB / 0.6228 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of SimCode: time 6.12e-07/0.008896, allocations: 0 / 0.6228 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.02251, allocations: 2.004 MB / 0.6248 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.138, allocations: 2.656 kB / 0.6248 GB, free: 6.605 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.864223781973124] Failed to read output from testmodel.py, exit status != 0: 7.2198630180209875 7.228167511 7.222365042 Calling exit ...