Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001069/0.001069, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.00121/0.00121, allocations: 165.3 kB / 24.25 MB, free: 208 kB / 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 1.044/1.044, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.945/1.945, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.65e-05, allocations: 4.984 kB / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001512/0.001539, allocations: 0.6779 MB / 0.7761 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.003103, allocations: 1.476 MB / 0.7775 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.003134, allocations: 0 / 0.7775 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.003153, allocations: 3.281 kB / 0.7775 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.193e-05/0.003185, allocations: 3.938 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.003623, allocations: 137.6 kB / 0.7777 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.003688, allocations: 33.05 kB / 0.7777 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.003725, allocations: 3.984 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.003787, allocations: 23.92 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.003852, allocations: 19.95 kB / 0.7777 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003869, allocations: 4 kB / 0.7777 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.004167, allocations: 255.5 kB / 0.778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.004183, allocations: 7.984 kB / 0.778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.004201, allocations: 7.984 kB / 0.778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.004428, allocations: 203.4 kB / 0.7782 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004431, allocations: 0 / 0.7782 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004432, allocations: 3.094 kB / 0.7782 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.004437, allocations: 7.984 kB / 0.7782 GB, free: 2.43 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003552/0.004793, allocations: 260.3 kB / 0.7785 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.004834, allocations: 9.344 kB / 0.7785 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.005063, allocations: 58.02 kB / 0.7785 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.005144, allocations: 118.6 kB / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.005158, allocations: 5.188 kB / 0.7786 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.005178, allocations: 8.375 kB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.005324, allocations: 103.2 kB / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.005332, allocations: 192 / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.00534, allocations: 384 / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005346, allocations: 3.938 kB / 0.7788 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.005379, allocations: 8.688 kB / 0.7788 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.00548, allocations: 69.03 kB / 0.7788 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.005638, allocations: 39.33 kB / 0.7789 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.005659, allocations: 14.64 kB / 0.7789 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.005802, allocations: 50.22 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.005827, allocations: 38.5 kB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005828, allocations: 0 / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0004085/0.006236, allocations: 199.5 kB / 0.7792 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.006264, allocations: 52.09 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.486e-05/0.006309, allocations: 103.8 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.006322, allocations: 25.7 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.006345, allocations: 80.14 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.006371, allocations: 23.78 kB / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.006404, allocations: 23.17 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.006478, allocations: 318.8 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.006497, allocations: 4 kB / 0.7798 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.006515, allocations: 8.766 kB / 0.7798 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.006555, allocations: 20.84 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006556, allocations: 1.062 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.941e-05/0.006626, allocations: 61.81 kB / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.006637, allocations: 4.938 kB / 0.7798 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006642, allocations: 0 / 0.7798 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.00665, allocations: 0 / 0.7798 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.006726, allocations: 16.92 kB / 0.7799 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006729, allocations: 4.938 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.006759, allocations: 11.92 kB / 0.7799 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.006765, allocations: 1 kB / 0.7799 GB, free: 0.5508 MB / 0.7292 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 (6): * Single equations (assignments): 6 * 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 5.612e-05/0.006821, allocations: 113.8 kB / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.006833, allocations: 1 kB / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.006962, allocations: 76.91 kB / 0.7801 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.006966, allocations: 4.328 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.006968, allocations: 3.984 kB / 0.7801 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.006973, allocations: 5.5 kB / 0.7801 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.424e-05/0.007037, allocations: 65.91 kB / 0.7801 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.00704, allocations: 3.984 kB / 0.7801 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.007108, allocations: 19.98 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.00711, allocations: 1.438 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.007118, allocations: 3.984 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007119, allocations: 0 / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00712, allocations: 1.656 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.007244, allocations: 101 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.007271, allocations: 4 kB / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.007281, allocations: 0 / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.299e-05/0.007314, allocations: 8.516 kB / 0.7803 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.007335, allocations: 13.64 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.007341, allocations: 192 / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.25e-05/0.007354, allocations: 4.859 kB / 0.7803 GB, free: 88 kB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007354, allocations: 1.594 kB / 0.7803 GB, free: 88 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000148/0.007502, allocations: 35.86 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001846/0.007686, allocations: 112.3 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.704e-05/0.007783, allocations: 39.44 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.007786, allocations: 4 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.007808, allocations: 12.86 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.642e-05/0.007884, allocations: 11.98 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.008184, allocations: 147.4 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.675e-05/0.008211, allocations: 55.36 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.726e-05/0.008268, allocations: 19.14 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.008334, allocations: 59.86 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/0.008335, allocations: 3.438 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of Templates: time 0.002942/0.01128, allocations: 1.325 MB / 0.7821 GB, free: 14.3 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.145989281125367]