Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.001538/0.001538, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001719/0.001719, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.074/1.074, allocations: 175.8 MB / 478.4 MB, free: 8.465 MB / 382.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.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 70.39 kB / 0.6652 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1984, allocations: 94.54 MB / 0.7575 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00277/0.2012, allocations: 1.499 MB / 0.759 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.579/0.7802, allocations: 132.5 MB / 0.8883 GB, free: 2.059 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.7802, allocations: 0 / 0.8883 GB, free: 2.059 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.7803, allocations: 7.922 kB / 0.8883 GB, free: 2.051 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.7804, allocations: 15.86 kB / 0.8883 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.7808, allocations: 63.72 kB / 0.8884 GB, free: 1.973 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.7809, allocations: 55.67 kB / 0.8885 GB, free: 1.922 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.781, allocations: 8 kB / 0.8885 GB, free: 1.914 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.7811, allocations: 19.92 kB / 0.8885 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.7811, allocations: 27.89 kB / 0.8885 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.7811, allocations: 8 kB / 0.8885 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.7812, allocations: 20.69 kB / 0.8885 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.7813, allocations: 7.984 kB / 0.8885 GB, free: 1.832 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.7813, allocations: 27.86 kB / 0.8886 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.7815, allocations: 59.61 kB / 0.8886 GB, free: 1.75 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7815, allocations: 0 / 0.8886 GB, free: 1.75 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7815, allocations: 0 / 0.8886 GB, free: 1.75 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.7815, allocations: 0 / 0.8886 GB, free: 1.75 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005904/0.7821, allocations: 373.4 kB / 0.889 GB, free: 1.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.7821, allocations: 12.03 kB / 0.889 GB, free: 1.328 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.7822, allocations: 34.75 kB / 0.889 GB, free: 1.285 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.7822, allocations: 9.641 kB / 0.889 GB, free: 1.277 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7824, allocations: 176.3 kB / 0.8892 GB, free: 1.066 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.7824, allocations: 4.312 kB / 0.8892 GB, free: 1.062 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.7824, allocations: 6.062 kB / 0.8892 GB, free: 1.059 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.7826, allocations: 74.22 kB / 0.8893 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7826, allocations: 3.938 kB / 0.8893 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.7826, allocations: 4 kB / 0.8893 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7827, allocations: 3.984 kB / 0.8893 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.7829, allocations: 63.94 kB / 0.8894 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.7833, allocations: 285.3 kB / 0.8896 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.7835, allocations: 58.53 kB / 0.8897 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.7837, allocations: 32.92 kB / 0.8897 GB, free: 488 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.7839, allocations: 89.09 kB / 0.8898 GB, free: 380 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.7839, allocations: 38.56 kB / 0.8898 GB, free: 332 kB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7839, allocations: 4 kB / 0.8898 GB, free: 328 kB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0005327/0.7844, allocations: 129.5 kB / 0.89 GB, free: 192 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.7845, allocations: 51.41 kB / 0.89 GB, free: 128 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.7846, allocations: 117.9 kB / 0.8901 GB, free: 16 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.7846, allocations: 33.7 kB / 0.8902 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.7847, allocations: 88.12 kB / 0.8902 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.7847, allocations: 19.84 kB / 0.8903 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.7848, allocations: 14.75 kB / 0.8903 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7849, allocations: 322.8 kB / 0.8906 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.7851, allocations: 27.97 kB / 0.8906 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.7852, allocations: 39.95 kB / 0.8906 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.7854, allocations: 61.83 kB / 0.8907 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7854, allocations: 0 / 0.8907 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003135/0.7858, allocations: 113.5 kB / 0.8908 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7858, allocations: 4 kB / 0.8908 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.7858, allocations: 0 / 0.8908 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7858, allocations: 0 / 0.8908 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.7859, allocations: 15.98 kB / 0.8908 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7859, allocations: 5.375 kB / 0.8908 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.786, allocations: 15.94 kB / 0.8909 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.786, allocations: 4 kB / 0.8909 GB, free: 15.21 MB / 0.6856 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 9.37e-05/0.7861, allocations: 117.8 kB / 0.891 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.7861, allocations: 4 kB / 0.891 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.7865, allocations: 109.5 kB / 0.8911 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7865, allocations: 0 / 0.8911 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7865, allocations: 0 / 0.8911 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7865, allocations: 0 / 0.8911 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.7867, allocations: 181.5 kB / 0.8913 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7867, allocations: 4 kB / 0.8913 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.7868, allocations: 11.98 kB / 0.8913 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7868, allocations: 0 / 0.8913 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.7868, allocations: 5.25 kB / 0.8913 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7868, allocations: 0 / 0.8913 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.7868, allocations: 0 / 0.8913 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.7872, allocations: 203.4 kB / 0.8915 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.7872, allocations: 85.06 kB / 0.8915 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.7873, allocations: 0 / 0.8915 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.7874, allocations: 15.92 kB / 0.8916 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.7874, allocations: 11.92 kB / 0.8916 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.7874, allocations: 0 / 0.8916 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 7.214e-05/0.7875, allocations: 95.27 kB / 0.8917 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7875, allocations: 4 kB / 0.8917 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002304/0.7877, allocations: 15.94 kB / 0.8917 GB, free: 14.26 MB / 0.6856 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.000774/0.7885, allocations: 0.7319 MB / 0.8924 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.7888, allocations: 67.86 kB / 0.8925 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7888, allocations: 0 / 0.8925 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.789, allocations: 39.95 kB / 0.8925 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.7893, allocations: 12.94 kB / 0.8925 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.7913, allocations: 1.44 MB / 0.8939 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.7916, allocations: 0.6885 MB / 0.8946 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.7917, allocations: 7.984 kB / 0.8946 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.7917, allocations: 23.38 kB / 0.8946 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/0.7917, allocations: 0 / 0.8946 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.818, allocations: 2.072 MB / 0.8966 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.915, allocations: 2.75 kB / 0.8966 GB, free: 9.168 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.777039885055274] Failed to read output from testmodel.py, exit status != 0: 8.987298250198364 9.01432746 8.228046253 Calling exit ...