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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 180.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.591/0.591, allocations: 91.99 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 107.1 kB / 427.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 16 kB / 0.4983 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 72.31 MB / 0.5689 GB, free: 1.898 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.6771, allocations: 103 MB / 0.6695 GB, free: 1.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.6775, allocations: 83.94 kB / 0.6696 GB, free: 1.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.695, allocations: 5.534 MB / 0.675 GB, free: 11.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.6951, allocations: 0 / 0.675 GB, free: 11.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.6952, allocations: 4 kB / 0.675 GB, free: 11.76 MB / 474.7 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.0007424/0.6959, allocations: 403.7 kB / 0.6754 GB, free: 11.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.696, allocations: 8.031 kB / 0.6754 GB, free: 11.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.6964, allocations: 71.78 kB / 0.6755 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.6966, allocations: 163.1 kB / 0.6756 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.6966, allocations: 8 kB / 0.6756 GB, free: 11.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.6967, allocations: 4 kB / 0.6756 GB, free: 11.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.6971, allocations: 121.6 kB / 0.6757 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.6971, allocations: 3.984 kB / 0.6757 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.6972, allocations: 8 kB / 0.6758 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6972, allocations: 3.938 kB / 0.6758 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.6977, allocations: 127.8 kB / 0.6759 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.6985, allocations: 340.6 kB / 0.6762 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.6991, allocations: 186.3 kB / 0.6764 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.6992, allocations: 0 / 0.6764 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6992, allocations: 34.56 kB / 0.6764 GB, free: 10.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.6992, allocations: 0 / 0.6764 GB, free: 10.14 MB / 474.7 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.01903/0.7182, allocations: 3.195 MB / 0.6795 GB, free: 6.855 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.7183, allocations: 51.41 kB / 0.6796 GB, free: 6.793 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.7184, allocations: 89 kB / 0.6797 GB, free: 6.699 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.7185, allocations: 29.7 kB / 0.6797 GB, free: 6.664 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.7186, allocations: 88.12 kB / 0.6798 GB, free: 6.574 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.7187, allocations: 39.38 kB / 0.6798 GB, free: 6.535 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.7187, allocations: 3.938 kB / 0.6798 GB, free: 6.531 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7188, allocations: 326.8 kB / 0.6801 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.7195, allocations: 211.8 kB / 0.6803 GB, free: 5.996 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.7201, allocations: 216.5 kB / 0.6805 GB, free: 5.785 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.7208, allocations: 222.5 kB / 0.6808 GB, free: 5.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7208, allocations: 0 / 0.6808 GB, free: 5.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001474/0.7223, allocations: 0.5167 MB / 0.6813 GB, free: 5.047 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7223, allocations: 5.875 kB / 0.6813 GB, free: 5.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7223, allocations: 8 kB / 0.6813 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7223, allocations: 0 / 0.6813 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/0.7232, allocations: 123.7 kB / 0.6814 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7232, allocations: 0 / 0.6814 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.7239, allocations: 59.94 kB / 0.6814 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.7239, allocations: 23.94 kB / 0.6815 GB, free: 4.832 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.7241, allocations: 113.8 kB / 0.6816 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.7242, allocations: 15.84 kB / 0.6816 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.7243, allocations: 11.97 kB / 0.6816 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7243, allocations: 0 / 0.6816 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7243, allocations: 0 / 0.6816 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.7243, allocations: 8 kB / 0.6816 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.7265, allocations: 1.106 MB / 0.6827 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.7265, allocations: 0 / 0.6827 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/0.7275, allocations: 119.8 kB / 0.6828 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7275, allocations: 0 / 0.6828 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.7275, allocations: 27.94 kB / 0.6828 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7276, allocations: 0 / 0.6828 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7276, allocations: 3.984 kB / 0.6828 GB, free: 3.312 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.7299, allocations: 0.8719 MB / 0.6837 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.7301, allocations: 109 kB / 0.6838 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.7302, allocations: 8 kB / 0.6838 GB, free: 2.293 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/0.7309, allocations: 56 kB / 0.6839 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.731, allocations: 28.2 kB / 0.6839 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.7311, allocations: 35.86 kB / 0.6839 GB, free: 2.176 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.7312, allocations: 83.27 kB / 0.684 GB, free: 2.094 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7312, allocations: 0 / 0.684 GB, free: 2.094 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000485/0.7317, allocations: 59.94 kB / 0.6841 GB, free: 2.035 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.732, allocations: 115.2 kB / 0.6842 GB, free: 1.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.7336, allocations: 475.5 kB / 0.6846 GB, free: 1.445 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7336, allocations: 0 / 0.6846 GB, free: 1.445 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007553/0.7344, allocations: 251.7 kB / 0.6849 GB, free: 1.199 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.7347, allocations: 7.953 kB / 0.6849 GB, free: 1.191 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.7393, allocations: 0.8777 MB / 0.6857 GB, free: 292 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.7396, allocations: 0.6965 MB / 0.6864 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007233/0.7404, allocations: 88.67 kB / 0.6865 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.7407, allocations: 59.3 kB / 0.6865 GB, free: 15.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/0.7407, allocations: 0 / 0.6865 GB, free: 15.42 MB / 490.7 MB Notification: Performance of Templates: time 0.0068/0.7475, allocations: 3.241 MB / 0.6897 GB, free: 12.18 MB / 490.7 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)