Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001304/0.001304, allocations: 75.22 kB / 19.93 MB, free: 1.77 MB / 14.72 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.00139/0.00139, allocations: 170.3 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.366/1.366, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9046/0.9046, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5548 GB, free: 2.551 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.433e-05, allocations: 6.719 kB / 0.5548 GB, free: 2.543 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001635/0.001659, allocations: 0.7628 MB / 0.5555 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.003586, allocations: 1.458 MB / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.003619, allocations: 0 / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.003648, allocations: 3.938 kB / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.003684, allocations: 0 / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.00419, allocations: 155.2 kB / 0.5571 GB, free: 164 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.866e-05/0.004289, allocations: 47.89 kB / 0.5571 GB, free: 116 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.00434, allocations: 11.97 kB / 0.5571 GB, free: 104 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.004443, allocations: 39.91 kB / 0.5572 GB, free: 64 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.004499, allocations: 23.95 kB / 0.5572 GB, free: 40 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.004518, allocations: 4 kB / 0.5572 GB, free: 36 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.004917, allocations: 251.4 kB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.004945, allocations: 23.91 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.004974, allocations: 12 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.005307, allocations: 231.4 kB / 0.5577 GB, free: 15.53 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005309, allocations: 4 kB / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00531, allocations: 0 / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.005318, allocations: 0 / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006326/0.00595, allocations: 321.8 kB / 0.558 GB, free: 15.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005984, allocations: 12.56 kB / 0.558 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.006424, allocations: 76.78 kB / 0.5581 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.006539, allocations: 113.7 kB / 0.5582 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.006565, allocations: 4.375 kB / 0.5582 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.006594, allocations: 8.375 kB / 0.5582 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.006987, allocations: 157.6 kB / 0.5584 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.007001, allocations: 4.172 kB / 0.5584 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.007017, allocations: 4.375 kB / 0.5584 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.007026, allocations: 7.938 kB / 0.5584 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.00751, allocations: 91.91 kB / 0.5585 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.008066, allocations: 272.3 kB / 0.5587 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.008749, allocations: 158.4 kB / 0.5589 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.008986, allocations: 56.75 kB / 0.5589 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.009003, allocations: 0 / 0.5589 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.009031, allocations: 38.56 kB / 0.559 GB, free: 14.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.051e-06/0.009032, allocations: 0 / 0.559 GB, free: 14.1 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01803/0.02707, allocations: 2.683 MB / 0.5616 GB, free: 11.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.02711, allocations: 51.41 kB / 0.5616 GB, free: 11.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.02719, allocations: 101.8 kB / 0.5617 GB, free: 11.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.02725, allocations: 29.7 kB / 0.5618 GB, free: 11.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.02731, allocations: 84.09 kB / 0.5618 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.02738, allocations: 43.67 kB / 0.5619 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.02755, allocations: 69.58 kB / 0.5619 GB, free: 10.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.02769, allocations: 322.8 kB / 0.5623 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.02837, allocations: 195.8 kB / 0.5624 GB, free: 10.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.02904, allocations: 190.6 kB / 0.5626 GB, free: 10.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.03045, allocations: 400.6 kB / 0.563 GB, free: 9.855 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.03045, allocations: 0 / 0.563 GB, free: 9.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001595/0.03204, allocations: 473.2 kB / 0.5635 GB, free: 9.387 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.03206, allocations: 4 kB / 0.5635 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.03206, allocations: 3.938 kB / 0.5635 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.03208, allocations: 0 / 0.5635 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.03289, allocations: 115.8 kB / 0.5636 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.0329, allocations: 0 / 0.5636 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.0335, allocations: 47.88 kB / 0.5636 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.03356, allocations: 23.94 kB / 0.5636 GB, free: 9.195 MB / 478.1 MB 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 (13): * Single equations (assignments): 13 * 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 0.000154/0.03371, allocations: 126.8 kB / 0.5638 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.0338, allocations: 8.047 kB / 0.5638 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.03384, allocations: 12.06 kB / 0.5638 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.03385, allocations: 4.172 kB / 0.5638 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.03385, allocations: 0 / 0.5638 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.03386, allocations: 11.98 kB / 0.5638 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.03607, allocations: 0.9686 MB / 0.5647 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.03607, allocations: 0 / 0.5647 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.03688, allocations: 107.8 kB / 0.5648 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.03688, allocations: 0 / 0.5648 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.03694, allocations: 23.94 kB / 0.5649 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.03694, allocations: 0 / 0.5649 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.03694, allocations: 0 / 0.5649 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.03932, allocations: 0.8054 MB / 0.5657 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.03945, allocations: 39.89 kB / 0.5657 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.03951, allocations: 0 / 0.5657 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.0402, allocations: 52 kB / 0.5657 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.04031, allocations: 31.91 kB / 0.5658 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.04037, allocations: 23.88 kB / 0.5658 GB, free: 6.883 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.04042, allocations: 83.28 kB / 0.5659 GB, free: 6.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04042, allocations: 3.938 kB / 0.5659 GB, free: 6.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.04077, allocations: 48 kB / 0.5659 GB, free: 6.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002157/0.04099, allocations: 115.2 kB / 0.566 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.04244, allocations: 423.5 kB / 0.5664 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.04244, allocations: 0 / 0.5664 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007239/0.04316, allocations: 215.7 kB / 0.5666 GB, free: 6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.04351, allocations: 11.98 kB / 0.5667 GB, free: 5.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.04757, allocations: 0.7503 MB / 0.5674 GB, free: 5.207 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.093e-05/0.04764, allocations: 83.27 kB / 0.5675 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.04811, allocations: 88.73 kB / 0.5676 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.04837, allocations: 56.36 kB / 0.5676 GB, free: 4.965 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.04837, allocations: 0 / 0.5676 GB, free: 4.965 MB / 478.1 MB Notification: Performance of Templates: time 0.006576/0.05495, allocations: 3.7 MB / 0.5712 GB, free: 1.297 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.269431602209806] Failed to read output from testmodel.py, exit status != 0: 0.06276050955057144 0.076005298 0.06792328 Calling exit ...