Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 109.4 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 194.9 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6756/0.6756, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3436, allocations: 76.14 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001687/0.3453, allocations: 0.5882 MB / 0.5581 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3467, allocations: 1.452 MB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.3468, allocations: 1.031 kB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.3468, allocations: 3.938 kB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.938e-05/0.3468, allocations: 0.8438 kB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.3472, allocations: 136.2 kB / 0.5597 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.3473, allocations: 31.97 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3474, allocations: 2.281 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.3474, allocations: 14.81 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.3475, allocations: 25.55 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3475, allocations: 3.219 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.3479, allocations: 319.4 kB / 0.5601 GB, free: 35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.348, allocations: 8.484 kB / 0.5601 GB, free: 35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.348, allocations: 10.81 kB / 0.5601 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.3483, allocations: 189 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3483, allocations: 0 / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3483, allocations: 0 / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.3483, allocations: 5.688 kB / 0.5603 GB, free: 34.94 MB / 446.1 MB 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.0004016/0.3487, allocations: 362 kB / 0.5606 GB, free: 34.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.3488, allocations: 11.17 kB / 0.5606 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.3492, allocations: 73.33 kB / 0.5607 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.277e-05/0.3493, allocations: 166.2 kB / 0.5609 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3493, allocations: 3.844 kB / 0.5609 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.3493, allocations: 4.125 kB / 0.5609 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.3495, allocations: 78.08 kB / 0.5609 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3496, allocations: 3.625 kB / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3496, allocations: 0 / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3496, allocations: 1.344 kB / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.3499, allocations: 66.77 kB / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.35, allocations: 172.3 kB / 0.5612 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.3506, allocations: 120.6 kB / 0.5613 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.3507, allocations: 43.69 kB / 0.5613 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003983/0.3511, allocations: 151.7 kB / 0.5615 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3512, allocations: 41.19 kB / 0.5615 GB, free: 33.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3512, allocations: 1.312 kB / 0.5615 GB, free: 33.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.00101/0.3522, allocations: 407.6 kB / 0.5619 GB, free: 33.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.3522, allocations: 53.72 kB / 0.562 GB, free: 33.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.3523, allocations: 94.73 kB / 0.5621 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.3523, allocations: 27.52 kB / 0.5621 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.429e-05/0.3523, allocations: 86.02 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3523, allocations: 14.28 kB / 0.5622 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.3524, allocations: 26.2 kB / 0.5622 GB, free: 33.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.3524, allocations: 314.7 kB / 0.5625 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3526, allocations: 35.17 kB / 0.5625 GB, free: 33.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3527, allocations: 37.27 kB / 0.5626 GB, free: 33.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.353, allocations: 77.92 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.353, allocations: 1.094 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003253/0.3533, allocations: 114.7 kB / 0.5628 GB, free: 32.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3534, allocations: 7.156 kB / 0.5628 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3534, allocations: 0 / 0.5628 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3534, allocations: 2.109 kB / 0.5628 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3535, allocations: 30.78 kB / 0.5628 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3536, allocations: 0.7031 kB / 0.5628 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.3537, allocations: 13.44 kB / 0.5628 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3537, allocations: 4 kB / 0.5628 GB, free: 32.95 MB / 446.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 (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 4.702e-05/0.3537, allocations: 109.6 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.3537, allocations: 5.812 kB / 0.5629 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.3542, allocations: 139.8 kB / 0.5631 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3542, allocations: 2.125 kB / 0.5631 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3542, allocations: 0 / 0.5631 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3542, allocations: 0.7031 kB / 0.5631 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.774e-05/0.3543, allocations: 165.8 kB / 0.5632 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3543, allocations: 5.094 kB / 0.5632 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3545, allocations: 25.84 kB / 0.5632 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3545, allocations: 1.125 kB / 0.5632 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3545, allocations: 5.828 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3545, allocations: 5.062 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3545, allocations: 2.328 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.355, allocations: 178.9 kB / 0.5634 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.3551, allocations: 91.69 kB / 0.5635 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3551, allocations: 6.188 kB / 0.5635 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3552, allocations: 13.5 kB / 0.5635 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.3553, allocations: 5.547 kB / 0.5635 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3553, allocations: 3.25 kB / 0.5635 GB, free: 32.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.058e-05/0.3553, allocations: 83.17 kB / 0.5636 GB, free: 32.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3553, allocations: 0.9062 kB / 0.5636 GB, free: 32.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.3555, allocations: 42.89 kB / 0.5637 GB, free: 32.29 MB / 446.1 MB 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.0001515/0.3557, allocations: 125 kB / 0.5638 GB, free: 32.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.356, allocations: 81.08 kB / 0.5639 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3561, allocations: 0 / 0.5639 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3562, allocations: 48.61 kB / 0.5639 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3564, allocations: 7.297 kB / 0.5639 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.3569, allocations: 179.6 kB / 0.5641 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.357, allocations: 0.6799 MB / 0.5647 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.345e-05/0.3571, allocations: 21.66 kB / 0.5648 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.3571, allocations: 12.03 kB / 0.5648 GB, free: 31.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3571, allocations: 3.344 kB / 0.5648 GB, free: 31.34 MB / 446.1 MB Notification: Performance of Templates: time 0.003367/0.3605, allocations: 1.149 MB / 0.5659 GB, free: 31.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)