Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.00122/0.00122, 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.00151/0.00151, 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.9031/0.9031, 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.7251/0.7251, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.846e-05, allocations: 4.812 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002702/0.00273, allocations: 1.293 MB / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.003702, allocations: 0.5375 MB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.00373, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.003754, allocations: 3.984 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.003816, allocations: 15.86 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.004333, allocations: 99.45 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.791e-05/0.004411, allocations: 19.86 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.004455, allocations: 7.969 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.004511, allocations: 11.98 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.004556, allocations: 0 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.004572, allocations: 4 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.004847, allocations: 139.7 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.004861, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.004884, allocations: 4 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.005111, allocations: 123.5 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.005114, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.933e-06/0.005116, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.005121, allocations: 0 / 0.6203 GB, free: 11.42 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003086/0.00543, allocations: 266.2 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.005468, allocations: 8.031 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.005495, allocations: 30.75 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.005768, allocations: 44.84 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.005841, allocations: 101.8 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.005851, allocations: 384 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.005862, allocations: 384 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.005988, allocations: 54.22 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.005995, allocations: 192 / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.006005, allocations: 384 / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006011, allocations: 4.125 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.006086, allocations: 31.91 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.006214, allocations: 120.8 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.006309, allocations: 38.58 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.006351, allocations: 20.91 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.006372, allocations: 3.938 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.006392, allocations: 34.56 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.006393, allocations: 4 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.006606, allocations: 73.53 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.006642, allocations: 59.34 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.0067, allocations: 93.86 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.00671, allocations: 25.7 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.006735, allocations: 88.12 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.006759, allocations: 3.953 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.00679, allocations: 17.84 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.006865, allocations: 314.8 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.006905, allocations: 12 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.00695, allocations: 11.98 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.007021, allocations: 28.84 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007022, allocations: 64 / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/0.007123, allocations: 65.59 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.007137, allocations: 8 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007142, allocations: 0 / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007153, allocations: 0 / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.007226, allocations: 11.92 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007231, allocations: 0 / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.007258, allocations: 11.95 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007264, allocations: 4.031 kB / 0.6218 GB, free: 9.66 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 (2): * Single equations (assignments): 2 * 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.697e-05/0.007321, allocations: 110.8 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.007328, allocations: 0 / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.007366, allocations: 11.25 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007368, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.007373, allocations: 3.938 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.007375, allocations: 0 / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.67e-05/0.007452, allocations: 124.8 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.007454, allocations: 11.98 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.007487, allocations: 4 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007489, allocations: 0 / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.007498, allocations: 3.984 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.007499, allocations: 3.938 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.007501, allocations: 7.875 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.007615, allocations: 81.11 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.007653, allocations: 8.172 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.007665, allocations: 4.031 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.007689, allocations: 7.984 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.007704, allocations: 7.938 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.007709, allocations: 3.984 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.007738, allocations: 79.28 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007738, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001569/0.007894, allocations: 15.94 kB / 0.6223 GB, free: 9.109 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 (2): * Single equations (assignments): 2 * 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.0004096/0.008304, allocations: 0.6357 MB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.008424, allocations: 27.97 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.008426, allocations: 0 / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.008454, allocations: 15.98 kB / 0.623 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.008658, allocations: 12.08 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.009023, allocations: 150.6 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.962e-05/0.009063, allocations: 55.36 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.009104, allocations: 8 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.009142, allocations: 12.48 kB / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.009142, allocations: 0 / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.02758, allocations: 2.282 MB / 0.6254 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.941, allocations: 0 / 0.6254 GB, free: 6.004 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.584479502402246] Failed to read output from testmodel.py, exit status != 0: 7.020222128368914 7.027763137 7.020688366 Calling exit ...