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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 109.8 kB / 17.33 MB, free: 5.043 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.001758/0.001758, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.515/1.515, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9398/0.9398, allocations: 128.4 MB / 426.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 69.3 kB / 0.5912 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2087, allocations: 83.25 MB / 0.6725 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002358/0.2111, allocations: 0.786 MB / 0.6733 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.2132, allocations: 1.489 MB / 0.6747 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.2132, allocations: 0 / 0.6747 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.2133, allocations: 3.938 kB / 0.6747 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.2133, allocations: 3.938 kB / 0.6747 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.2139, allocations: 147.4 kB / 0.6749 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.214, allocations: 47.91 kB / 0.6749 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.2141, allocations: 7.984 kB / 0.6749 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.2142, allocations: 27.91 kB / 0.675 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.2143, allocations: 35.91 kB / 0.675 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2143, allocations: 4 kB / 0.675 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.2148, allocations: 323.3 kB / 0.6753 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.2148, allocations: 15.92 kB / 0.6753 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.2149, allocations: 27.8 kB / 0.6754 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.2153, allocations: 211.4 kB / 0.6756 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2153, allocations: 0 / 0.6756 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2153, allocations: 0 / 0.6756 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.2153, allocations: 0 / 0.6756 GB, free: 0.6953 MB / 0.4981 GB 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.0008402/0.2161, allocations: 414.9 kB / 0.6759 GB, free: 248 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2162, allocations: 8.031 kB / 0.676 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/0.2167, allocations: 76.8 kB / 0.676 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.2169, allocations: 164.3 kB / 0.6762 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.2169, allocations: 4.375 kB / 0.6762 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.2169, allocations: 8.375 kB / 0.6762 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.2173, allocations: 117.8 kB / 0.6763 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2173, allocations: 3.953 kB / 0.6763 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2173, allocations: 4 kB / 0.6763 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2174, allocations: 4 kB / 0.6763 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.2178, allocations: 103.9 kB / 0.6764 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.2185, allocations: 324.7 kB / 0.6767 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.2191, allocations: 162.4 kB / 0.6769 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2193, allocations: 52.97 kB / 0.6769 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2193, allocations: 7.984 kB / 0.6769 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.2194, allocations: 34.56 kB / 0.677 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2194, allocations: 0 / 0.677 GB, free: 15.07 MB / 0.5137 GB 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.01861/0.238, allocations: 2.827 MB / 0.6797 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.238, allocations: 55.34 kB / 0.6798 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2382, allocations: 109.8 kB / 0.6799 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.2382, allocations: 29.7 kB / 0.6799 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.2383, allocations: 88.03 kB / 0.68 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/0.2384, allocations: 47.64 kB / 0.6801 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.2385, allocations: 65.58 kB / 0.6801 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2387, allocations: 318.8 kB / 0.6804 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.2393, allocations: 191.8 kB / 0.6806 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.24, allocations: 198.5 kB / 0.6808 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.2413, allocations: 384.5 kB / 0.6812 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2413, allocations: 0 / 0.6812 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001588/0.2429, allocations: 477.3 kB / 0.6816 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2429, allocations: 4 kB / 0.6816 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2429, allocations: 4.031 kB / 0.6816 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.243, allocations: 3.938 kB / 0.6816 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.2438, allocations: 115.8 kB / 0.6817 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2438, allocations: 4.953 kB / 0.6817 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.2445, allocations: 47.94 kB / 0.6818 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.2445, allocations: 23.94 kB / 0.6818 GB, free: 9.977 MB / 0.5137 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 (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.0001778/0.2447, allocations: 114.7 kB / 0.6819 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.2448, allocations: 15.89 kB / 0.6819 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.2449, allocations: 11.95 kB / 0.6819 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2449, allocations: 0 / 0.6819 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2449, allocations: 3.938 kB / 0.6819 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2449, allocations: 0 / 0.6819 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.2472, allocations: 1.051 MB / 0.683 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2472, allocations: 0 / 0.683 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.248, allocations: 107.8 kB / 0.6831 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.248, allocations: 7.938 kB / 0.6831 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.2481, allocations: 23.94 kB / 0.6831 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2481, allocations: 0 / 0.6831 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2481, allocations: 3.938 kB / 0.6831 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.2505, allocations: 0.7879 MB / 0.6839 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.2507, allocations: 124.9 kB / 0.684 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.2507, allocations: 4 kB / 0.684 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.2514, allocations: 44 kB / 0.684 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2515, allocations: 27.92 kB / 0.6841 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.2516, allocations: 27.94 kB / 0.6841 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.2516, allocations: 79.45 kB / 0.6842 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2516, allocations: 0 / 0.6842 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004025/0.2521, allocations: 55.94 kB / 0.6842 GB, free: 7.344 MB / 0.5137 GB 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.0002666/0.2523, allocations: 118.9 kB / 0.6843 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.2538, allocations: 423.5 kB / 0.6847 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2538, allocations: 0 / 0.6847 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.2545, allocations: 227.7 kB / 0.685 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2549, allocations: 11.94 kB / 0.685 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/0.2592, allocations: 0.7477 MB / 0.6857 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.2596, allocations: 0.6963 MB / 0.6864 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005734/0.2602, allocations: 100.6 kB / 0.6865 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.2604, allocations: 51.31 kB / 0.6865 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.2604, allocations: 0 / 0.6865 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.007484/0.2679, allocations: 3.541 MB / 0.69 GB, free: 1.379 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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) [Timeout 480]