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.001313/0.001313, allocations: 101.5 kB / 16.27 MB, free: 5.961 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.001297/0.001297, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7934/0.7934, allocations: 122.9 MB / 413.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3917, allocations: 77.93 MB / 0.5672 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002262/0.394, allocations: 0.5928 MB / 0.5678 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.396, allocations: 1.443 MB / 0.5692 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.3961, allocations: 1.156 kB / 0.5692 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.3961, allocations: 1.719 kB / 0.5692 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.875e-05/0.3961, allocations: 3.938 kB / 0.5692 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.3967, allocations: 139.9 kB / 0.5693 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.3967, allocations: 29.77 kB / 0.5694 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.3968, allocations: 3.203 kB / 0.5694 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.3968, allocations: 18.84 kB / 0.5694 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.3969, allocations: 26.16 kB / 0.5694 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3969, allocations: 3.094 kB / 0.5694 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.3975, allocations: 315.1 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.3975, allocations: 10.25 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.3975, allocations: 14.84 kB / 0.5697 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.3979, allocations: 187.7 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3979, allocations: 0 / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3979, allocations: 0 / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3979, allocations: 1.641 kB / 0.5699 GB, free: 30.89 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.0005674/0.3985, allocations: 366.4 kB / 0.5703 GB, free: 30.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3986, allocations: 10.8 kB / 0.5703 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005175/0.3991, allocations: 66.75 kB / 0.5703 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3992, allocations: 170.4 kB / 0.5705 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3992, allocations: 4.969 kB / 0.5705 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3993, allocations: 4.656 kB / 0.5705 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.3995, allocations: 77.75 kB / 0.5706 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.3995, allocations: 4 kB / 0.5706 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3996, allocations: 2.219 kB / 0.5706 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3996, allocations: 0 / 0.5706 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.3999, allocations: 64.44 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.4, allocations: 168.2 kB / 0.5708 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.4006, allocations: 123.5 kB / 0.5709 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.4008, allocations: 44.69 kB / 0.571 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/0.4013, allocations: 153.2 kB / 0.5711 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4013, allocations: 36.03 kB / 0.5712 GB, free: 29.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.4013, allocations: 0.7188 kB / 0.5712 GB, free: 29.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001119/0.4024, allocations: 404 kB / 0.5715 GB, free: 29.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.4025, allocations: 57.31 kB / 0.5716 GB, free: 29.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.938e-05/0.4025, allocations: 94.31 kB / 0.5717 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.4025, allocations: 28.95 kB / 0.5717 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.323e-05/0.4025, allocations: 80.66 kB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.4026, allocations: 23.97 kB / 0.5718 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.4026, allocations: 20.98 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.4027, allocations: 314.3 kB / 0.5721 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.4028, allocations: 35.58 kB / 0.5722 GB, free: 28.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.403, allocations: 37.41 kB / 0.5722 GB, free: 28.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.4033, allocations: 80.66 kB / 0.5723 GB, free: 28.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4033, allocations: 0 / 0.5723 GB, free: 28.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003582/0.4037, allocations: 115.3 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4037, allocations: 4.594 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4037, allocations: 0 / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4037, allocations: 5.062 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4039, allocations: 25.09 kB / 0.5724 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4039, allocations: 0.7031 kB / 0.5724 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.404, allocations: 13.27 kB / 0.5724 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.404, allocations: 4.141 kB / 0.5724 GB, free: 28.9 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.606e-05/0.4041, allocations: 116.8 kB / 0.5726 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.4041, allocations: 6.031 kB / 0.5726 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.4046, allocations: 135.5 kB / 0.5727 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4046, allocations: 0 / 0.5727 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4046, allocations: 6.484 kB / 0.5727 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4046, allocations: 0.5625 kB / 0.5727 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.227e-05/0.4047, allocations: 171.2 kB / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4047, allocations: 1.438 kB / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.4049, allocations: 27.41 kB / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4049, allocations: 0 / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4049, allocations: 3.734 kB / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4049, allocations: 3.938 kB / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4049, allocations: 1.344 kB / 0.5729 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.4055, allocations: 187.2 kB / 0.5731 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.4055, allocations: 89.2 kB / 0.5732 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.4055, allocations: 2.312 kB / 0.5732 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.4057, allocations: 13.27 kB / 0.5732 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.4057, allocations: 9.125 kB / 0.5732 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4057, allocations: 3.719 kB / 0.5732 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.4057, allocations: 77.84 kB / 0.5733 GB, free: 28.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4057, allocations: 4.906 kB / 0.5733 GB, free: 28.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.406, allocations: 35.38 kB / 0.5733 GB, free: 28.23 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.0001692/0.4062, allocations: 125.1 kB / 0.5734 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.4065, allocations: 89.41 kB / 0.5735 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4066, allocations: 0 / 0.5735 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4067, allocations: 43.7 kB / 0.5735 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.4069, allocations: 11.12 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.4075, allocations: 186.2 kB / 0.5737 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.212e-05/0.4076, allocations: 0.6793 MB / 0.5744 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.4077, allocations: 20.67 kB / 0.5744 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.4077, allocations: 12.41 kB / 0.5744 GB, free: 27.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4077, allocations: 1.562 kB / 0.5744 GB, free: 27.28 MB / 446.1 MB Notification: Performance of Templates: time 0.003325/0.4111, allocations: 1.161 MB / 0.5756 GB, free: 27.17 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)