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.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001167, allocations: 106.2 kB / 16.52 MB, free: 6.664 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.001062/0.001062, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7137/0.7137, allocations: 115.3 MB / 406.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 75.88 kB / 493.6 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3344, allocations: 76.16 MB / 0.5564 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002118/0.3366, allocations: 0.823 MB / 0.5572 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3382, allocations: 1.494 MB / 0.5587 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.3382, allocations: 0.8438 kB / 0.5587 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.3383, allocations: 3.938 kB / 0.5587 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.3383, allocations: 1.781 kB / 0.5587 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.3388, allocations: 119.7 kB / 0.5588 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.882e-05/0.3388, allocations: 52.5 kB / 0.5588 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.3389, allocations: 3.469 kB / 0.5588 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.339, allocations: 34.88 kB / 0.5589 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.339, allocations: 24.77 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.339, allocations: 4.375 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.3395, allocations: 319.8 kB / 0.5592 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.3395, allocations: 15.2 kB / 0.5592 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.3395, allocations: 26.05 kB / 0.5592 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3397, allocations: 143.3 kB / 0.5594 GB, free: 34.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3398, allocations: 1.312 kB / 0.5594 GB, free: 34.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.12e-07/0.3398, allocations: 0.5312 kB / 0.5594 GB, free: 34.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3398, allocations: 1.5 kB / 0.5594 GB, free: 34.3 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005287/0.3403, allocations: 398.8 kB / 0.5598 GB, free: 33.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3403, allocations: 13.69 kB / 0.5598 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.3408, allocations: 76.19 kB / 0.5598 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.657e-05/0.3409, allocations: 169.8 kB / 0.56 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3409, allocations: 9 kB / 0.56 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3409, allocations: 10.38 kB / 0.56 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.3413, allocations: 108 kB / 0.5601 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3413, allocations: 3.016 kB / 0.5601 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3414, allocations: 8.547 kB / 0.5601 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3414, allocations: 3.125 kB / 0.5601 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/0.3418, allocations: 98.05 kB / 0.5602 GB, free: 33.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.3424, allocations: 336.6 kB / 0.5606 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.343, allocations: 153.8 kB / 0.5607 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.3432, allocations: 62.42 kB / 0.5608 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.3433, allocations: 0 / 0.5608 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3433, allocations: 33.72 kB / 0.5608 GB, free: 33.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3433, allocations: 3.938 kB / 0.5608 GB, free: 33.23 MB / 446.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.01859/0.3619, allocations: 2.836 MB / 0.5636 GB, free: 32.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.3619, allocations: 61.67 kB / 0.5636 GB, free: 32.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.362, allocations: 97.48 kB / 0.5637 GB, free: 32.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.3621, allocations: 31.2 kB / 0.5637 GB, free: 32.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.3621, allocations: 86.91 kB / 0.5638 GB, free: 32.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.3622, allocations: 55.78 kB / 0.5639 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3624, allocations: 69.81 kB / 0.5639 GB, free: 32.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.3624, allocations: 313.5 kB / 0.5642 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/0.3631, allocations: 192.5 kB / 0.5644 GB, free: 31.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.3638, allocations: 189.3 kB / 0.5646 GB, free: 31.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.3651, allocations: 394.1 kB / 0.565 GB, free: 31.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3651, allocations: 0 / 0.565 GB, free: 31.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001513/0.3666, allocations: 478.1 kB / 0.5654 GB, free: 31.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3667, allocations: 9.531 kB / 0.5654 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3667, allocations: 0 / 0.5654 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3667, allocations: 1.812 kB / 0.5655 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.3675, allocations: 106.2 kB / 0.5656 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3675, allocations: 9.031 kB / 0.5656 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.3682, allocations: 41.84 kB / 0.5656 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.3682, allocations: 23.73 kB / 0.5656 GB, free: 31.45 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 (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.000135/0.3684, allocations: 121.9 kB / 0.5657 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.3685, allocations: 7.625 kB / 0.5657 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.3685, allocations: 13.33 kB / 0.5658 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3685, allocations: 2.781 kB / 0.5658 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3686, allocations: 5.297 kB / 0.5658 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3686, allocations: 0.6094 kB / 0.5658 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.3707, allocations: 1.045 MB / 0.5668 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3707, allocations: 0 / 0.5668 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/0.3716, allocations: 106 kB / 0.5669 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3716, allocations: 7.938 kB / 0.5669 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.3717, allocations: 26.41 kB / 0.5669 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3717, allocations: 1.125 kB / 0.5669 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3717, allocations: 0 / 0.5669 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.374, allocations: 0.7897 MB / 0.5677 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.3742, allocations: 116.1 kB / 0.5678 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.3743, allocations: 6.094 kB / 0.5678 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.375, allocations: 47.44 kB / 0.5679 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3751, allocations: 30.52 kB / 0.5679 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.3752, allocations: 34.81 kB / 0.5679 GB, free: 30.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.641e-05/0.3752, allocations: 80.58 kB / 0.568 GB, free: 30.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3752, allocations: 0 / 0.568 GB, free: 30.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.3756, allocations: 54.84 kB / 0.568 GB, free: 30.1 MB / 446.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.0002083/0.3758, allocations: 110.6 kB / 0.5682 GB, free: 30.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.3773, allocations: 427.7 kB / 0.5686 GB, free: 29.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3773, allocations: 3.938 kB / 0.5686 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007135/0.378, allocations: 219.4 kB / 0.5688 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3784, allocations: 10.94 kB / 0.5688 GB, free: 29.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.3829, allocations: 0.813 MB / 0.5696 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.383, allocations: 0.6913 MB / 0.5703 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.3835, allocations: 80.05 kB / 0.5703 GB, free: 28.87 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3835, allocations: 4 kB / 0.5703 GB, free: 28.87 MB / 446.1 MB Notification: Performance of Templates: time 0.007028/0.3905, allocations: 3.776 MB / 0.574 GB, free: 28.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)