Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001071/0.001071, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001037/0.001037, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 297 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8771/0.8771, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 99.84 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3736, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001366/0.375, allocations: 0.5941 MB / 0.7677 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3765, allocations: 1.456 MB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.3765, allocations: 4 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.3766, allocations: 3.938 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.98e-05/0.3766, allocations: 0 / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.377, allocations: 143.4 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.3771, allocations: 31.97 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.3771, allocations: 0 / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.3772, allocations: 15.92 kB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.3772, allocations: 27.95 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3773, allocations: 0 / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.3777, allocations: 315.4 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.3777, allocations: 11.97 kB / 0.7696 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.3777, allocations: 11.92 kB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.378, allocations: 195.6 kB / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.378, allocations: 0 / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.62e-07/0.378, allocations: 0 / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.378, allocations: 4 kB / 0.7698 GB, free: 1.07 MB / 0.5294 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.0004629/0.3785, allocations: 363.1 kB / 0.7702 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3785, allocations: 8.031 kB / 0.7702 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/0.379, allocations: 68.84 kB / 0.7703 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3791, allocations: 168.3 kB / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3791, allocations: 4.375 kB / 0.7704 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3791, allocations: 384 / 0.7704 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3794, allocations: 81.94 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3794, allocations: 0 / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3794, allocations: 0 / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3794, allocations: 0 / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.3797, allocations: 67.92 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.3799, allocations: 161.7 kB / 0.7707 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.3805, allocations: 126.5 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3806, allocations: 48.91 kB / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004334/0.3811, allocations: 149 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3811, allocations: 46.5 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3811, allocations: 4 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001098/0.3822, allocations: 404.7 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.3823, allocations: 55.34 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.3823, allocations: 93.86 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3823, allocations: 25.7 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.3824, allocations: 84.12 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3824, allocations: 15.75 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.3825, allocations: 25.84 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.3826, allocations: 314.8 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3827, allocations: 31.97 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.3829, allocations: 43.91 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.3832, allocations: 80.8 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3832, allocations: 0 / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003507/0.3835, allocations: 113.5 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3836, allocations: 7.938 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3836, allocations: 0 / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3836, allocations: 0 / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3837, allocations: 23.97 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3837, allocations: 0 / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3838, allocations: 15.98 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3839, allocations: 11.94 kB / 0.7724 GB, free: 14.2 MB / 0.545 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 7.4e-05/0.3839, allocations: 108.2 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.384, allocations: 11.88 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.3844, allocations: 133.2 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3844, allocations: 4 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3844, allocations: 0 / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.3845, allocations: 85.41 kB / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3845, allocations: 0 / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3846, allocations: 15.98 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.3847, allocations: 3.984 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004779/0.3851, allocations: 208.7 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005898/0.3857, allocations: 338.7 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001558/0.3859, allocations: 39.98 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.3859, allocations: 83.34 kB / 0.7733 GB, free: 13.13 MB / 0.545 GB Notification: Performance of Backend: time 2.11e-07/0.3859, allocations: 4 kB / 0.7733 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005693/0.3865, allocations: 174.5 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003597/0.3869, allocations: 0.5574 MB / 0.7741 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Templates: time 0.004179/0.3911, allocations: 1.705 MB / 0.7757 GB, free: 10.65 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)