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.001418/0.001418, 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.001704/0.001704, 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 493.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3384, allocations: 76.18 MB / 0.5564 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001799/0.3402, allocations: 0.6481 MB / 0.557 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3418, allocations: 1.471 MB / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.3419, allocations: 2.938 kB / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.3419, allocations: 0 / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.91e-05/0.342, allocations: 0 / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.3424, allocations: 115.2 kB / 0.5586 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.3425, allocations: 26.38 kB / 0.5586 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.3425, allocations: 2.156 kB / 0.5586 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.3426, allocations: 18.77 kB / 0.5586 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.3426, allocations: 33.86 kB / 0.5586 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3427, allocations: 2.375 kB / 0.5586 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.3431, allocations: 315.3 kB / 0.559 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.3431, allocations: 6.438 kB / 0.559 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.3432, allocations: 17.5 kB / 0.559 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3434, allocations: 127 kB / 0.5591 GB, free: 34.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3434, allocations: 0.75 kB / 0.5591 GB, free: 34.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3434, allocations: 0.6562 kB / 0.5591 GB, free: 34.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3435, allocations: 0.5938 kB / 0.5591 GB, free: 34.67 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.0004605/0.3439, allocations: 361.5 kB / 0.5594 GB, free: 34.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.344, allocations: 15.17 kB / 0.5595 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000486/0.3445, allocations: 72.14 kB / 0.5595 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.3446, allocations: 163 kB / 0.5597 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3446, allocations: 5.75 kB / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3446, allocations: 5.594 kB / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3449, allocations: 79.44 kB / 0.5598 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3449, allocations: 4 kB / 0.5598 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3449, allocations: 0.5625 kB / 0.5598 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3449, allocations: 5.875 kB / 0.5598 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.3452, allocations: 63.73 kB / 0.5598 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.3454, allocations: 169.2 kB / 0.56 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.346, allocations: 123.2 kB / 0.5601 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.3462, allocations: 44.66 kB / 0.5602 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.3467, allocations: 156 kB / 0.5603 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3467, allocations: 37.62 kB / 0.5603 GB, free: 33.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3467, allocations: 7.875 kB / 0.5604 GB, free: 33.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001151/0.3479, allocations: 404.1 kB / 0.5607 GB, free: 33.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.3479, allocations: 56.81 kB / 0.5608 GB, free: 33.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.3479, allocations: 94.09 kB / 0.5609 GB, free: 33.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.348, allocations: 26.98 kB / 0.5609 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.589e-05/0.348, allocations: 82.31 kB / 0.561 GB, free: 33.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.348, allocations: 15.42 kB / 0.561 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.3481, allocations: 22.88 kB / 0.561 GB, free: 33.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.3481, allocations: 313.7 kB / 0.5613 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3483, allocations: 35.97 kB / 0.5614 GB, free: 32.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3484, allocations: 36.22 kB / 0.5614 GB, free: 32.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.3487, allocations: 74.75 kB / 0.5615 GB, free: 32.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3487, allocations: 1.344 kB / 0.5615 GB, free: 32.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003463/0.3491, allocations: 122.8 kB / 0.5616 GB, free: 32.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3491, allocations: 5.531 kB / 0.5616 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3491, allocations: 1.344 kB / 0.5616 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3491, allocations: 1.188 kB / 0.5616 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3493, allocations: 23.55 kB / 0.5616 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3493, allocations: 1.281 kB / 0.5616 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.563e-05/0.3494, allocations: 13.34 kB / 0.5616 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3494, allocations: 6.047 kB / 0.5616 GB, free: 32.67 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 5.292e-05/0.3495, allocations: 109.4 kB / 0.5617 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.3495, allocations: 6.406 kB / 0.5617 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.3499, allocations: 144.2 kB / 0.5619 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.35, allocations: 1.094 kB / 0.5619 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.35, allocations: 0.7031 kB / 0.5619 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.35, allocations: 2.188 kB / 0.5619 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3501, allocations: 166.1 kB / 0.562 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3501, allocations: 0 / 0.562 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3502, allocations: 29.77 kB / 0.5621 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3503, allocations: 1.5 kB / 0.5621 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3503, allocations: 2.297 kB / 0.5621 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3503, allocations: 0 / 0.5621 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3503, allocations: 0.75 kB / 0.5621 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.3508, allocations: 187.3 kB / 0.5622 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.3509, allocations: 92.2 kB / 0.5623 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3509, allocations: 1.281 kB / 0.5623 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.351, allocations: 14.77 kB / 0.5624 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3511, allocations: 11.73 kB / 0.5624 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.3511, allocations: 3.969 kB / 0.5624 GB, free: 32.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.242e-05/0.3511, allocations: 78.19 kB / 0.5624 GB, free: 32.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3511, allocations: 0 / 0.5624 GB, free: 32.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3514, allocations: 33.75 kB / 0.5625 GB, free: 32.02 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.0001938/0.3516, allocations: 130.3 kB / 0.5626 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.352, allocations: 81.91 kB / 0.5627 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.352, allocations: 0.875 kB / 0.5627 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.3522, allocations: 47.36 kB / 0.5627 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.3523, allocations: 14.12 kB / 0.5627 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.3529, allocations: 214.2 kB / 0.5629 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.353, allocations: 0.6786 MB / 0.5636 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.3531, allocations: 14.28 kB / 0.5636 GB, free: 31.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3531, allocations: 2.812 kB / 0.5636 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Templates: time 0.002785/0.3559, allocations: 1.123 MB / 0.5647 GB, free: 30.95 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)