Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00165/0.00165, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001715/0.001715, allocations: 190.7 kB / 22.23 MB, free: 5.098 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.371/1.371, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002418/0.002418, allocations: 296.3 kB / 306.6 MB, free: 8.371 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 180.9 MB / 0.53 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 99.45 kB / 0.7308 GB, free: 38.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1536, allocations: 94.2 MB / 0.8228 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002694/0.1562, allocations: 1.509 MB / 0.8243 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1528/0.309, allocations: 132.5 MB / 0.9536 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.3091, allocations: 0 / 0.9536 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.3091, allocations: 3.938 kB / 0.9536 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.3092, allocations: 15.8 kB / 0.9537 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.3096, allocations: 79.58 kB / 0.9537 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.3096, allocations: 47.86 kB / 0.9538 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.3097, allocations: 11.98 kB / 0.9538 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.3098, allocations: 23.92 kB / 0.9538 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.3098, allocations: 23.92 kB / 0.9538 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3099, allocations: 7.938 kB / 0.9538 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.3099, allocations: 15.98 kB / 0.9539 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.31, allocations: 8 kB / 0.9539 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.31, allocations: 27.84 kB / 0.9539 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.3101, allocations: 55.75 kB / 0.954 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3101, allocations: 0 / 0.954 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3101, allocations: 0 / 0.954 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3102, allocations: 4 kB / 0.954 GB, free: 11.02 MB / 0.7012 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.0005265/0.3107, allocations: 302 kB / 0.9542 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.3107, allocations: 12.03 kB / 0.9543 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.3107, allocations: 4.891 kB / 0.9543 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3109, allocations: 114.5 kB / 0.9544 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3109, allocations: 8.375 kB / 0.9544 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3109, allocations: 384 / 0.9544 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.3111, allocations: 78.2 kB / 0.9545 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3111, allocations: 192 / 0.9545 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3112, allocations: 11.88 kB / 0.9545 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3112, allocations: 0 / 0.9545 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.3115, allocations: 67.92 kB / 0.9545 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3118, allocations: 263.8 kB / 0.9548 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.312, allocations: 58.47 kB / 0.9548 GB, free: 10 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.3122, allocations: 36.92 kB / 0.9549 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3123, allocations: 15.98 kB / 0.9549 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3124, allocations: 30.56 kB / 0.9549 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 4.289e-06/0.3124, allocations: 3.984 kB / 0.9549 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0005635/0.3129, allocations: 129.6 kB / 0.955 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.313, allocations: 55.41 kB / 0.9551 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3131, allocations: 113.8 kB / 0.9552 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3131, allocations: 29.7 kB / 0.9552 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.3131, allocations: 88.09 kB / 0.9553 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3131, allocations: 11.94 kB / 0.9553 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.3132, allocations: 13.72 kB / 0.9553 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3133, allocations: 330.7 kB / 0.9557 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3135, allocations: 35.95 kB / 0.9557 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3136, allocations: 27.97 kB / 0.9557 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.3139, allocations: 68.78 kB / 0.9558 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3139, allocations: 0 / 0.9558 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003355/0.3142, allocations: 101.6 kB / 0.9559 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3142, allocations: 8 kB / 0.9559 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3142, allocations: 0 / 0.9559 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3143, allocations: 3.938 kB / 0.9559 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3144, allocations: 15.97 kB / 0.9559 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3144, allocations: 7.938 kB / 0.9559 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.3145, allocations: 11.98 kB / 0.9559 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3145, allocations: 4 kB / 0.9559 GB, free: 8.809 MB / 0.7012 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.061e-05/0.3146, allocations: 114.4 kB / 0.956 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3146, allocations: 4 kB / 0.956 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.315, allocations: 105.6 kB / 0.9561 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.315, allocations: 4 kB / 0.9561 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.315, allocations: 0 / 0.9561 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.315, allocations: 3.984 kB / 0.9561 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3152, allocations: 144.6 kB / 0.9563 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3152, allocations: 4 kB / 0.9563 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.3153, allocations: 15.97 kB / 0.9563 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3153, allocations: 0 / 0.9563 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3153, allocations: 0 / 0.9563 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3153, allocations: 7.938 kB / 0.9563 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3153, allocations: 0 / 0.9563 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.3157, allocations: 199.4 kB / 0.9565 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.3157, allocations: 11.89 kB / 0.9565 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.3157, allocations: 3.984 kB / 0.9565 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3158, allocations: 11.98 kB / 0.9565 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3158, allocations: 4.422 kB / 0.9565 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3159, allocations: 0 / 0.9565 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.3159, allocations: 99.27 kB / 0.9566 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3159, allocations: 0 / 0.9566 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002212/0.3161, allocations: 12 kB / 0.9566 GB, free: 7.996 MB / 0.7012 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.0001446/0.3163, allocations: 107.2 kB / 0.9567 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.3166, allocations: 71.86 kB / 0.9568 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3166, allocations: 4 kB / 0.9568 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.3168, allocations: 40.03 kB / 0.9569 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3171, allocations: 25.38 kB / 0.9569 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3175, allocations: 164.1 kB / 0.957 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3178, allocations: 0.6846 MB / 0.9577 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.3178, allocations: 7.984 kB / 0.9577 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3178, allocations: 7.438 kB / 0.9577 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/0.3178, allocations: 0 / 0.9577 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of Templates: time 0.003465/0.3213, allocations: 1.018 MB / 0.9587 GB, free: 5.832 MB / 0.7012 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.894379740580916] Failed to read output from testmodel.py, exit status != 0: 0.3283588504418731 0.34319216700000005 0.030108761 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0ea94757b0>