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.0007992/0.0007992, 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.0008368/0.0008368, 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.9429/0.9429, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.7461/0.7461, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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 2.134e-06/2.134e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.251e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001881/0.001903, allocations: 1.294 MB / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002965, allocations: 0.8534 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.002995, allocations: 4 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.003017, allocations: 3.938 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.00306, allocations: 7.938 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.003613, allocations: 201.9 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.003669, allocations: 19.86 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.00371, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.003767, allocations: 11.98 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.003816, allocations: 15.94 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.00383, allocations: 0 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.004098, allocations: 231.6 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.004111, allocations: 0 / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.004129, allocations: 11.92 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.004354, allocations: 199.5 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.004357, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.363e-06/0.004359, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004363, allocations: 0 / 0.6209 GB, free: 10.82 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.0003469/0.00471, allocations: 282.1 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.004749, allocations: 12.03 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.004778, allocations: 34.75 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.004959, allocations: 12.92 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.851e-05/0.005028, allocations: 113.7 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.00504, allocations: 4.375 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.005049, allocations: 4.359 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.005163, allocations: 71.7 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005171, allocations: 0 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005181, allocations: 4 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.005185, allocations: 4 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.005228, allocations: 19.92 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.005346, allocations: 132.7 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.005848, allocations: 130.5 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.00588, allocations: 16.86 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.005964, allocations: 7.984 kB / 0.6217 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.005985, allocations: 42.5 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.005986, allocations: 0 / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001478/0.006134, allocations: 61.62 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.006161, allocations: 55.41 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.006205, allocations: 93.84 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006217, allocations: 29.7 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.006235, allocations: 80.14 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.006259, allocations: 11.91 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.006287, allocations: 17.72 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.006364, allocations: 314.8 kB / 0.6224 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.006381, allocations: 12.11 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.006395, allocations: 8 kB / 0.6224 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.006435, allocations: 32.78 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006437, allocations: 0 / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.061e-05/0.006498, allocations: 53.69 kB / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.006512, allocations: 11.94 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006516, allocations: 0 / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.006526, allocations: 0 / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.006571, allocations: 4 kB / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.006576, allocations: 0 / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.006592, allocations: 4 kB / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.006597, allocations: 4 kB / 0.6225 GB, free: 8.973 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.608e-05/0.006653, allocations: 118.8 kB / 0.6226 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.00666, allocations: 4.266 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.006867, allocations: 89.02 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.006871, allocations: 4 kB / 0.6227 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006875, allocations: 0 / 0.6227 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006878, allocations: 4 kB / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.732e-05/0.006955, allocations: 136.7 kB / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006957, allocations: 0 / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.006986, allocations: 8 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.006989, allocations: 3.938 kB / 0.6228 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006996, allocations: 4 kB / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.006997, allocations: 0 / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006998, allocations: 0 / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.231e-05/0.007071, allocations: 85.06 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.007097, allocations: 7.984 kB / 0.6229 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.007108, allocations: 7.938 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.462e-05/0.007132, allocations: 0 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.00715, allocations: 11.98 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.007154, allocations: 0 / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.223e-05/0.007176, allocations: 75.28 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007176, allocations: 0 / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001944/0.007371, allocations: 51.88 kB / 0.6231 GB, free: 8.293 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 (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.0003873/0.007758, allocations: 0.6864 MB / 0.6237 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.00784, allocations: 31.92 kB / 0.6238 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007841, allocations: 8.031 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.007858, allocations: 16 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.007996, allocations: 6.344 kB / 0.6238 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.008385, allocations: 162.4 kB / 0.6239 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.008425, allocations: 67.28 kB / 0.624 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.008467, allocations: 12 kB / 0.624 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.008502, allocations: 20.48 kB / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.008503, allocations: 0 / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02447, allocations: 2.697 MB / 0.6267 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.67, allocations: 6.953 kB / 0.6267 GB, free: 4.652 MB / 0.5886 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_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_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.589943760074675] Failed to read output from testmodel.py, exit status != 0: 6.756970035843551 6.769598344 6.763442481 Calling exit ...