Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.0007819/0.0007819, 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.0009284/0.0009284, allocations: 170.3 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.9107/0.9107, 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.6901/0.6901, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.479e-05, allocations: 6.281 kB / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001494/0.001509, allocations: 1.293 MB / 0.6194 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.002453, allocations: 0.8534 MB / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.002478, allocations: 0 / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.002496, allocations: 0 / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.079e-05/0.002537, allocations: 3.938 kB / 0.6202 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.004063, allocations: 210.6 kB / 0.6204 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.004119, allocations: 23.86 kB / 0.6204 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.004153, allocations: 4 kB / 0.6204 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.004199, allocations: 7.984 kB / 0.6204 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.004237, allocations: 7.938 kB / 0.6204 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.004248, allocations: 4 kB / 0.6204 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.004505, allocations: 227.6 kB / 0.6207 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.004516, allocations: 8 kB / 0.6207 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.004534, allocations: 15.98 kB / 0.6207 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.004746, allocations: 187.6 kB / 0.6209 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004748, allocations: 0 / 0.6209 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004749, allocations: 0 / 0.6209 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.004752, allocations: 0 / 0.6209 GB, free: 9.703 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.0003101/0.005063, allocations: 294 kB / 0.6211 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005098, allocations: 8.031 kB / 0.6212 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.005127, allocations: 38.69 kB / 0.6212 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.005287, allocations: 16.92 kB / 0.6212 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.642e-05/0.005354, allocations: 105.8 kB / 0.6213 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.005362, allocations: 4.375 kB / 0.6213 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.00537, allocations: 384 / 0.6213 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.005479, allocations: 75.69 kB / 0.6214 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.005485, allocations: 0 / 0.6214 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.005493, allocations: 0 / 0.6214 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.005497, allocations: 0 / 0.6214 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.005544, allocations: 15.98 kB / 0.6214 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.005657, allocations: 128.7 kB / 0.6215 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.00612, allocations: 142.5 kB / 0.6217 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.006147, allocations: 24.84 kB / 0.6217 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.006223, allocations: 8 kB / 0.6217 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.006242, allocations: 38.48 kB / 0.6217 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.006244, allocations: 0 / 0.6217 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001359/0.006379, allocations: 65.62 kB / 0.6218 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.006404, allocations: 51.41 kB / 0.6218 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.00645, allocations: 97.86 kB / 0.6219 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.00646, allocations: 25.7 kB / 0.622 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.742e-05/0.006477, allocations: 80.14 kB / 0.622 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.006509, allocations: 19.89 kB / 0.622 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.006538, allocations: 9.719 kB / 0.6221 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.006614, allocations: 318.8 kB / 0.6224 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.006632, allocations: 11.98 kB / 0.6224 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.006645, allocations: 8 kB / 0.6224 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.006681, allocations: 24.86 kB / 0.6224 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006683, allocations: 0 / 0.6224 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.4e-05/0.006737, allocations: 53.75 kB / 0.6225 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.00675, allocations: 15.92 kB / 0.6225 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006755, allocations: 0 / 0.6225 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.006767, allocations: 4 kB / 0.6225 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.006803, allocations: 8 kB / 0.6225 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.006808, allocations: 0 / 0.6225 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.006824, allocations: 7.938 kB / 0.6225 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.00683, allocations: 4 kB / 0.6225 GB, free: 7.832 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 9.055e-05/0.00692, allocations: 106.8 kB / 0.6226 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.006935, allocations: 7.938 kB / 0.6226 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.007114, allocations: 85.12 kB / 0.6227 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007117, allocations: 0 / 0.6227 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.007121, allocations: 0 / 0.6227 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.007123, allocations: 0 / 0.6227 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.324e-05/0.007196, allocations: 136.7 kB / 0.6228 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.007197, allocations: 0 / 0.6228 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.007238, allocations: 8 kB / 0.6228 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007241, allocations: 7.938 kB / 0.6228 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-06/0.007248, allocations: 4 kB / 0.6228 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.00725, allocations: 0 / 0.6228 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00725, allocations: 0 / 0.6228 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.007321, allocations: 85.39 kB / 0.6229 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.007345, allocations: 7.984 kB / 0.6229 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.007356, allocations: 7.938 kB / 0.6229 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.007381, allocations: 0 / 0.6229 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.007398, allocations: 7.922 kB / 0.6229 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.007404, allocations: 4 kB / 0.6229 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.007426, allocations: 79.28 kB / 0.623 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.007426, allocations: 0 / 0.623 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001764/0.007602, allocations: 55.86 kB / 0.6231 GB, free: 7.16 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 (5): * Single equations (assignments): 5 * 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.0003587/0.007961, allocations: 0.6864 MB / 0.6237 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.008044, allocations: 32.11 kB / 0.6238 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008046, allocations: 0 / 0.6238 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.008061, allocations: 15.98 kB / 0.6238 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.008181, allocations: 8 kB / 0.6238 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.008569, allocations: 170.4 kB / 0.624 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.764e-05/0.008606, allocations: 63.34 kB / 0.624 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.008645, allocations: 4 kB / 0.624 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.008676, allocations: 16.5 kB / 0.624 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.008676, allocations: 3.938 kB / 0.624 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.02336, allocations: 2.708 MB / 0.6267 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/6.986, allocations: 7.484 kB / 0.6267 GB, free: 3.523 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.56267165672034] Failed to read output from testmodel.py, exit status != 0: 7.066257573664188 7.075540998 7.069053261 Calling exit ...