Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.0008791/0.0008791, 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.001032/0.001032, allocations: 165.9 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.8632/0.8632, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.704/0.704, 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.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.924e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001655/0.001674, allocations: 1.425 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.002026, allocations: 215.4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.002058, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002086, allocations: 11.88 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.002126, allocations: 3.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.00234, allocations: 27.89 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.002409, allocations: 23.88 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.002502, allocations: 7.984 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.002553, allocations: 12 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.447e-05/0.002587, allocations: 11.98 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.002601, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.894e-05/0.00268, allocations: 39.84 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.002694, allocations: 3.984 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.002715, allocations: 8 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.002838, allocations: 39.88 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.002841, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002842, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.002847, allocations: 0 / 0.6199 GB, free: 11.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000357/0.003204, allocations: 274.2 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.003241, allocations: 8.031 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.003269, allocations: 30.75 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.00338, allocations: 8.938 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.003453, allocations: 109.8 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.003463, allocations: 4.312 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.003471, allocations: 4.375 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.003592, allocations: 46.23 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.003598, allocations: 192 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.003605, allocations: 8.375 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.00361, allocations: 4.125 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.003693, allocations: 27.97 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.00397, allocations: 220 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.004055, allocations: 38.5 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.004099, allocations: 20.89 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.004113, allocations: 0 / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004132, allocations: 42.5 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.004133, allocations: 0 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002058/0.004338, allocations: 77.64 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.004366, allocations: 59.34 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.004418, allocations: 101.8 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.004427, allocations: 25.7 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.004459, allocations: 84.12 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.004477, allocations: 20.02 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.0045, allocations: 9.719 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.00457, allocations: 314.8 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.004611, allocations: 19.92 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.004645, allocations: 15.97 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.004718, allocations: 36.83 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00472, allocations: 64 / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.811e-05/0.004818, allocations: 73.59 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.004829, allocations: 7.938 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.004833, allocations: 0 / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.004844, allocations: 0 / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.004895, allocations: 15.98 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.004899, allocations: 3.938 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.004922, allocations: 4 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.004926, allocations: 4.031 kB / 0.6215 GB, free: 9.961 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.067e-05/0.004977, allocations: 114.8 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.004989, allocations: 7.891 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.005131, allocations: 76.92 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005132, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.005136, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.00514, allocations: 3.984 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.468e-05/0.005235, allocations: 128.8 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.005235, allocations: 4 kB / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.005262, allocations: 15.92 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.005265, allocations: 3.938 kB / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.005271, allocations: 0 / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005271, allocations: 0 / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005272, allocations: 0 / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.005395, allocations: 167.5 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.0054, allocations: 3.938 kB / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.005409, allocations: 0 / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.005447, allocations: 12 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.005478, allocations: 7.984 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.00548, allocations: 0 / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.437e-05/0.005504, allocations: 79.28 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005504, allocations: 0 / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001367/0.005641, allocations: 4 kB / 0.6221 GB, free: 9.27 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 (3): * Single equations (assignments): 3 * 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.0002814/0.005922, allocations: 0.7045 MB / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.006036, allocations: 43.95 kB / 0.6228 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006038, allocations: 0 / 0.6228 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.006077, allocations: 19.92 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.006263, allocations: 11.06 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.006832, allocations: 135.2 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.006873, allocations: 67.28 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.006892, allocations: 8.047 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.006926, allocations: 16.44 kB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.006926, allocations: 0 / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.021, allocations: 2.017 MB / 0.6251 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.673/6.694, allocations: 11.06 kB / 0.6251 GB, free: 6.305 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.302241204306483] Failed to read output from testmodel.py, exit status != 0: 6.7724833721295 6.781119644 6.776693864 Calling exit ...