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.001515/0.001516, allocations: 98.67 kB / 15.98 MB, free: 6.352 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.002008/0.002009, allocations: 197.1 kB / 16.91 MB, free: 6.191 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7594/0.7594, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4016, allocations: 77.91 MB / 0.5667 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002496/0.4042, allocations: 0.8272 MB / 0.5675 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.4062, allocations: 1.474 MB / 0.569 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.4063, allocations: 1.25 kB / 0.569 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.4063, allocations: 0 / 0.569 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.4064, allocations: 9.312 kB / 0.569 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.4069, allocations: 118.5 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.407, allocations: 49.09 kB / 0.5691 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.428e-05/0.4071, allocations: 9.25 kB / 0.5691 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.4072, allocations: 22.44 kB / 0.5692 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.4073, allocations: 32.09 kB / 0.5692 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.4073, allocations: 8.219 kB / 0.5692 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005596/0.4079, allocations: 322.5 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.4079, allocations: 11.78 kB / 0.5695 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.408, allocations: 32.33 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.4084, allocations: 205.3 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4084, allocations: 0 / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4084, allocations: 1.562 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.4084, allocations: 1.469 kB / 0.5697 GB, free: 30.88 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.0006724/0.4091, allocations: 401.8 kB / 0.5701 GB, free: 30.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4092, allocations: 9.656 kB / 0.5701 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.4097, allocations: 73.66 kB / 0.5702 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.4098, allocations: 168.3 kB / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.4098, allocations: 12.02 kB / 0.5704 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.4098, allocations: 5.344 kB / 0.5704 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.4103, allocations: 114.2 kB / 0.5705 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4103, allocations: 8.469 kB / 0.5705 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.4103, allocations: 6.156 kB / 0.5705 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.4103, allocations: 1.625 kB / 0.5705 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.4109, allocations: 101.7 kB / 0.5706 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.4115, allocations: 329.4 kB / 0.5709 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.4121, allocations: 156.8 kB / 0.5711 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.4124, allocations: 57.75 kB / 0.5711 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.4124, allocations: 2.812 kB / 0.5711 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4125, allocations: 36.14 kB / 0.5712 GB, free: 29.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4125, allocations: 0 / 0.5712 GB, free: 29.8 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.0198/0.4323, allocations: 2.829 MB / 0.5739 GB, free: 29.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.4324, allocations: 61.95 kB / 0.574 GB, free: 28.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.4324, allocations: 101 kB / 0.5741 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.4325, allocations: 30.89 kB / 0.5741 GB, free: 28.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.4325, allocations: 91.27 kB / 0.5742 GB, free: 28.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.4326, allocations: 40.5 kB / 0.5742 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.4328, allocations: 68.28 kB / 0.5743 GB, free: 28.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.4329, allocations: 318.7 kB / 0.5746 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.4336, allocations: 191.7 kB / 0.5748 GB, free: 28.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.4343, allocations: 192.6 kB / 0.575 GB, free: 28.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.4356, allocations: 392.2 kB / 0.5753 GB, free: 28.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4356, allocations: 0 / 0.5753 GB, free: 28.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001596/0.4372, allocations: 481.5 kB / 0.5758 GB, free: 28.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4372, allocations: 5.094 kB / 0.5758 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4372, allocations: 5.031 kB / 0.5758 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4373, allocations: 1.188 kB / 0.5758 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/0.4382, allocations: 114.1 kB / 0.5759 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4382, allocations: 7.922 kB / 0.5759 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.4389, allocations: 46.28 kB / 0.576 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.4389, allocations: 26.06 kB / 0.576 GB, free: 27.94 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.0001624/0.4391, allocations: 112.8 kB / 0.5761 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.4392, allocations: 4.562 kB / 0.5761 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.4393, allocations: 7.969 kB / 0.5761 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4393, allocations: 1.625 kB / 0.5761 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4393, allocations: 7.922 kB / 0.5761 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4393, allocations: 5.438 kB / 0.5761 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.4413, allocations: 1.055 MB / 0.5772 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4413, allocations: 1.375 kB / 0.5772 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.4422, allocations: 109.3 kB / 0.5773 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4422, allocations: 4.125 kB / 0.5773 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.4422, allocations: 25.42 kB / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4423, allocations: 0 / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4423, allocations: 0 / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.4445, allocations: 0.7948 MB / 0.5781 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4446, allocations: 123.3 kB / 0.5782 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.4447, allocations: 1.406 kB / 0.5782 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/0.4454, allocations: 50.75 kB / 0.5782 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4455, allocations: 30.42 kB / 0.5783 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/0.4456, allocations: 21.66 kB / 0.5783 GB, free: 26.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.4456, allocations: 82.83 kB / 0.5784 GB, free: 26.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4456, allocations: 4 kB / 0.5784 GB, free: 26.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.4461, allocations: 55 kB / 0.5784 GB, free: 26.05 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.0002876/0.4464, allocations: 108.1 kB / 0.5785 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.4479, allocations: 431.7 kB / 0.5789 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.448, allocations: 5.188 kB / 0.5789 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.4487, allocations: 224.8 kB / 0.5792 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.4491, allocations: 10 kB / 0.5792 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.4533, allocations: 0.7741 MB / 0.5799 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.4535, allocations: 0.6901 MB / 0.5806 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007005/0.4542, allocations: 88.53 kB / 0.5807 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.4544, allocations: 56.17 kB / 0.5807 GB, free: 24.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4545, allocations: 0 / 0.5807 GB, free: 24.3 MB / 446.1 MB Notification: Performance of Templates: time 0.00692/0.4614, allocations: 3.478 MB / 0.5841 GB, free: 22.45 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)