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.0007161/0.0007161, allocations: 84.44 kB / 20.7 MB, free: 3.871 MB / 18.57 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.0007266/0.0007266, allocations: 169.9 kB / 23.97 MB, free: 0.5977 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.8869/0.8869, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 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.5532/0.5532, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 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.793e-06/1.793e-06, allocations: 0 / 0.5555 GB, free: 1.16 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.11e-05, allocations: 6.281 kB / 0.5555 GB, free: 1.152 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001725/0.001746, allocations: 0.7681 MB / 0.5562 GB, free: 396 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.00378, allocations: 1.462 MB / 0.5577 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.003822, allocations: 0 / 0.5577 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.003857, allocations: 3.938 kB / 0.5577 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.003907, allocations: 3.938 kB / 0.5577 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.004503, allocations: 154.9 kB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.004615, allocations: 51.89 kB / 0.5579 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.004671, allocations: 7.969 kB / 0.5579 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.004782, allocations: 31.97 kB / 0.5579 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.004845, allocations: 27.89 kB / 0.5579 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.004866, allocations: 4 kB / 0.5579 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.005244, allocations: 255.4 kB / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.005267, allocations: 15.97 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.005299, allocations: 19.92 kB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.005638, allocations: 227.5 kB / 0.5584 GB, free: 14.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.00564, allocations: 3.938 kB / 0.5584 GB, free: 14.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005642, allocations: 0 / 0.5584 GB, free: 14.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005646, allocations: 0 / 0.5584 GB, free: 14.12 MB / 490.7 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.0006153/0.006262, allocations: 334.4 kB / 0.5587 GB, free: 13.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.006304, allocations: 8.625 kB / 0.5588 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.006663, allocations: 72.8 kB / 0.5588 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.006759, allocations: 105.8 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.006794, allocations: 8.375 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.00682, allocations: 8.312 kB / 0.5589 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.007127, allocations: 165.6 kB / 0.5591 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007139, allocations: 192 / 0.5591 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.007152, allocations: 384 / 0.5591 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.007159, allocations: 7.938 kB / 0.5591 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.007399, allocations: 103.8 kB / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.007817, allocations: 260.4 kB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.008163, allocations: 162.3 kB / 0.5596 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.008276, allocations: 48.81 kB / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.008292, allocations: 4 kB / 0.5597 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.008317, allocations: 42.56 kB / 0.5597 GB, free: 12.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.008318, allocations: 0 / 0.5597 GB, free: 12.69 MB / 490.7 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.008717/0.01704, allocations: 2.688 MB / 0.5623 GB, free: 9.945 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.01707, allocations: 51.41 kB / 0.5624 GB, free: 9.883 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.01713, allocations: 109.8 kB / 0.5625 GB, free: 9.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.01716, allocations: 29.7 kB / 0.5625 GB, free: 9.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.0172, allocations: 84.09 kB / 0.5626 GB, free: 9.645 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.01725, allocations: 39.69 kB / 0.5626 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01736, allocations: 65.58 kB / 0.5627 GB, free: 9.535 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.01744, allocations: 326.8 kB / 0.563 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.0178, allocations: 195.7 kB / 0.5632 GB, free: 9.016 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.01816, allocations: 191.8 kB / 0.5634 GB, free: 8.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.01889, allocations: 399.8 kB / 0.5638 GB, free: 8.438 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01889, allocations: 0 / 0.5638 GB, free: 8.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008603/0.01975, allocations: 473.2 kB / 0.5642 GB, free: 7.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01977, allocations: 4 kB / 0.5642 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01977, allocations: 0 / 0.5642 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01978, allocations: 0 / 0.5642 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.02016, allocations: 119.7 kB / 0.5643 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.02017, allocations: 0 / 0.5643 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.02042, allocations: 55.88 kB / 0.5644 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.02045, allocations: 19.94 kB / 0.5644 GB, free: 7.773 MB / 490.7 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.0001042/0.02056, allocations: 117.8 kB / 0.5645 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.0206, allocations: 7.953 kB / 0.5645 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.02064, allocations: 16.11 kB / 0.5645 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.02065, allocations: 4 kB / 0.5645 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.02065, allocations: 0 / 0.5645 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02065, allocations: 4.094 kB / 0.5645 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.02191, allocations: 0.9647 MB / 0.5655 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.02191, allocations: 4 kB / 0.5655 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.02226, allocations: 107.8 kB / 0.5656 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02227, allocations: 0 / 0.5656 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.0223, allocations: 23.88 kB / 0.5656 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0223, allocations: 4 kB / 0.5656 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0223, allocations: 0 / 0.5656 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.02359, allocations: 0.7917 MB / 0.5664 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.02368, allocations: 39.89 kB / 0.5664 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.02372, allocations: 8 kB / 0.5664 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.024, allocations: 47.98 kB / 0.5665 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.02406, allocations: 27.92 kB / 0.5665 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.0241, allocations: 27.88 kB / 0.5665 GB, free: 5.473 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.02412, allocations: 79.28 kB / 0.5666 GB, free: 5.395 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02412, allocations: 0 / 0.5666 GB, free: 5.395 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.02437, allocations: 59.92 kB / 0.5667 GB, free: 5.336 MB / 490.7 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.0001507/0.02452, allocations: 103.2 kB / 0.5668 GB, free: 5.223 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.02555, allocations: 427.4 kB / 0.5672 GB, free: 4.805 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.02555, allocations: 0 / 0.5672 GB, free: 4.805 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.02596, allocations: 227.7 kB / 0.5674 GB, free: 4.582 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.0262, allocations: 11.91 kB / 0.5674 GB, free: 4.574 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.02827, allocations: 0.7716 MB / 0.5682 GB, free: 3.766 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.02838, allocations: 79.27 kB / 0.5682 GB, free: 3.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.02865, allocations: 76.3 kB / 0.5683 GB, free: 3.594 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02866, allocations: 0 / 0.5683 GB, free: 3.594 MB / 490.7 MB Notification: Performance of Templates: time 0.003789/0.03244, allocations: 3.81 MB / 0.572 GB, free: 15.79 MB / 0.4948 GB " [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 os._exit(0), Time elapsed: 5.016469676978886] Failed to read output from testmodel.py, exit status != 0: 0.03834871668368578 0.045700937000000004 0.038365837 Calling exit ...