Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 102 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.096/1.096, allocations: 175.7 MB / 478.4 MB, free: 3.754 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 66.95 kB / 0.6652 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1932, allocations: 94.55 MB / 0.7575 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002493/0.1957, allocations: 1.27 MB / 0.7588 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5943/0.79, allocations: 132.4 MB / 0.8881 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.79, allocations: 0 / 0.8881 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.7901, allocations: 3.938 kB / 0.8881 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.7901, allocations: 7.625 kB / 0.8881 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.7905, allocations: 57.55 kB / 0.8881 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.7905, allocations: 22.95 kB / 0.8882 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.7906, allocations: 2.344 kB / 0.8882 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.7906, allocations: 15.02 kB / 0.8882 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.7907, allocations: 9.203 kB / 0.8882 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.7907, allocations: 1.312 kB / 0.8882 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.7907, allocations: 18.33 kB / 0.8882 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.7907, allocations: 5.125 kB / 0.8882 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.7908, allocations: 5.703 kB / 0.8882 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.7909, allocations: 30.53 kB / 0.8882 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7909, allocations: 0 / 0.8882 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7909, allocations: 1.5 kB / 0.8882 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7909, allocations: 1.312 kB / 0.8882 GB, free: 12.52 MB / 0.6544 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.0004298/0.7913, allocations: 333.2 kB / 0.8886 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7913, allocations: 9.031 kB / 0.8886 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.7914, allocations: 36.25 kB / 0.8886 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.7914, allocations: 2.375 kB / 0.8886 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.7915, allocations: 167.3 kB / 0.8888 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.7916, allocations: 29.08 kB / 0.8888 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.7916, allocations: 5.812 kB / 0.8888 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.7917, allocations: 43.58 kB / 0.8888 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7917, allocations: 0 / 0.8888 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.7918, allocations: 1.312 kB / 0.8888 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.7918, allocations: 3.984 kB / 0.8888 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.7918, allocations: 15.98 kB / 0.8889 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.792, allocations: 155.5 kB / 0.889 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.7921, allocations: 28.75 kB / 0.889 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.7921, allocations: 19.64 kB / 0.8891 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.7923, allocations: 93.19 kB / 0.8891 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.7923, allocations: 40 kB / 0.8892 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7923, allocations: 0 / 0.8892 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002151/0.7926, allocations: 56.33 kB / 0.8892 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.7926, allocations: 52.69 kB / 0.8893 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.7927, allocations: 96.06 kB / 0.8894 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.7927, allocations: 33.14 kB / 0.8894 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.7927, allocations: 80.14 kB / 0.8895 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.7928, allocations: 16.69 kB / 0.8895 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.7928, allocations: 15.44 kB / 0.8895 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7929, allocations: 312.2 kB / 0.8898 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.793, allocations: 9.281 kB / 0.8898 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.793, allocations: 12.66 kB / 0.8898 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.923e-05/0.7931, allocations: 23.84 kB / 0.8899 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7931, allocations: 0 / 0.8899 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001334/0.7932, allocations: 57.19 kB / 0.8899 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7932, allocations: 9.969 kB / 0.8899 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7932, allocations: 0 / 0.8899 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7933, allocations: 1.094 kB / 0.8899 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.7933, allocations: 10.25 kB / 0.8899 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.7933, allocations: 1.031 kB / 0.8899 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.7933, allocations: 5.156 kB / 0.8899 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.7934, allocations: 1.062 kB / 0.8899 GB, free: 10.77 MB / 0.6544 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 (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 prepare postOptimizeDAE: time 8.186e-05/0.7934, allocations: 111.2 kB / 0.89 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.7934, allocations: 11.8 kB / 0.8901 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.7936, allocations: 52.23 kB / 0.8901 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7936, allocations: 0.5625 kB / 0.8901 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7936, allocations: 1.125 kB / 0.8901 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.7936, allocations: 0 / 0.8901 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.7937, allocations: 153.9 kB / 0.8903 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7937, allocations: 1.188 kB / 0.8903 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.7938, allocations: 5.281 kB / 0.8903 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.7938, allocations: 3.938 kB / 0.8903 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.7938, allocations: 5.312 kB / 0.8903 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7938, allocations: 0 / 0.8903 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7938, allocations: 3.938 kB / 0.8903 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.7939, allocations: 77.33 kB / 0.8903 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.794, allocations: 89.55 kB / 0.8904 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.794, allocations: 4.5 kB / 0.8904 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.794, allocations: 3.578 kB / 0.8904 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.7941, allocations: 5.031 kB / 0.8904 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.7941, allocations: 1.156 kB / 0.8904 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.7941, allocations: 83.34 kB / 0.8905 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.7941, allocations: 0 / 0.8905 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001885/0.7943, allocations: 8.875 kB / 0.8905 GB, free: 10.16 MB / 0.6544 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.000518/0.7948, allocations: 0.6302 MB / 0.8911 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.795, allocations: 16.88 kB / 0.8912 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.795, allocations: 1.281 kB / 0.8912 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.795, allocations: 12.08 kB / 0.8912 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.7952, allocations: 6.875 kB / 0.8912 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.7956, allocations: 173.4 kB / 0.8913 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.7959, allocations: 0.6762 MB / 0.892 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.796, allocations: 1.031 kB / 0.892 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.796, allocations: 9.625 kB / 0.892 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.796, allocations: 0 / 0.892 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.8182, allocations: 1.371 MB / 0.8934 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.843, allocations: 14.94 kB / 0.8934 GB, free: 8.312 MB / 0.6544 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.861172173172235] Failed to read output from testmodel.py, exit status != 0: 8.921439912170172 8.94674478 8.15125679 Calling exit ...