Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009504/0.0009505, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009909/0.0009909, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9787/0.9787, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 12 kB / 0.5158 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1559, allocations: 83.42 MB / 0.5973 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008659/0.1568, allocations: 492 kB / 0.5978 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1583, allocations: 1.412 MB / 0.5991 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.1583, allocations: 0 / 0.5991 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1584, allocations: 3.984 kB / 0.5991 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.1584, allocations: 0 / 0.5991 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1588, allocations: 111.7 kB / 0.5993 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.1589, allocations: 35.89 kB / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.1589, allocations: 0 / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.159, allocations: 27.92 kB / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.1591, allocations: 35.89 kB / 0.5993 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1591, allocations: 3.938 kB / 0.5994 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.1595, allocations: 315.5 kB / 0.5997 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.1596, allocations: 11.98 kB / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.1596, allocations: 37.64 kB / 0.5997 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1598, allocations: 147.8 kB / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1598, allocations: 0 / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1599, allocations: 4 kB / 0.5998 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1599, allocations: 0 / 0.5998 GB, free: 5.125 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.000624/0.1605, allocations: 395.4 kB / 0.6002 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1605, allocations: 12.03 kB / 0.6002 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.161, allocations: 87.81 kB / 0.6003 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1612, allocations: 167 kB / 0.6005 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.1612, allocations: 4 kB / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1612, allocations: 12 kB / 0.6005 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.1616, allocations: 113.6 kB / 0.6006 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1617, allocations: 8 kB / 0.6006 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1617, allocations: 7.938 kB / 0.6006 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1617, allocations: 0 / 0.6006 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.1622, allocations: 119.9 kB / 0.6007 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.1628, allocations: 336.7 kB / 0.6011 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.1635, allocations: 186.4 kB / 0.6012 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1636, allocations: 4 kB / 0.6012 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1636, allocations: 34.56 kB / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1636, allocations: 0 / 0.6013 GB, free: 3.508 MB / 0.4981 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.01849/0.1821, allocations: 3.189 MB / 0.6044 GB, free: 228 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1822, allocations: 51.41 kB / 0.6044 GB, free: 164 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.1822, allocations: 105.8 kB / 0.6045 GB, free: 48 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.1823, allocations: 25.7 kB / 0.6046 GB, free: 16 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2594/0.4417, allocations: 86.2 kB / 0.6046 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/0.4419, allocations: 43.3 kB / 0.6047 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.4419, allocations: 4.156 kB / 0.6047 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.4419, allocations: 320.6 kB / 0.605 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.4427, allocations: 214.6 kB / 0.6052 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.4433, allocations: 220.8 kB / 0.6054 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.444, allocations: 214.8 kB / 0.6056 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.444, allocations: 2.969 kB / 0.6056 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001441/0.4454, allocations: 0.5169 MB / 0.6061 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4454, allocations: 5.312 kB / 0.6061 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4455, allocations: 0 / 0.6061 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4455, allocations: 0 / 0.6061 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.4463, allocations: 123.2 kB / 0.6062 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4463, allocations: 0 / 0.6062 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.4469, allocations: 66.52 kB / 0.6063 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.447, allocations: 24.81 kB / 0.6063 GB, free: 41.53 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.4471, allocations: 113.8 kB / 0.6064 GB, free: 41.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.4472, allocations: 7.75 kB / 0.6064 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.4473, allocations: 16.25 kB / 0.6065 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4473, allocations: 2.5 kB / 0.6065 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4473, allocations: 1.375 kB / 0.6065 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4473, allocations: 3 kB / 0.6065 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.4493, allocations: 1.101 MB / 0.6075 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4493, allocations: 1.984 kB / 0.6075 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.4501, allocations: 118.8 kB / 0.6077 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4501, allocations: 2.719 kB / 0.6077 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.4502, allocations: 28.31 kB / 0.6077 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4502, allocations: 0.625 kB / 0.6077 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4502, allocations: 4 kB / 0.6077 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.4523, allocations: 0.8651 MB / 0.6085 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.4525, allocations: 118.2 kB / 0.6086 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.4526, allocations: 0 / 0.6086 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.4533, allocations: 62.47 kB / 0.6087 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.4534, allocations: 29.58 kB / 0.6087 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.4534, allocations: 23.56 kB / 0.6088 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.4534, allocations: 87.38 kB / 0.6088 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4535, allocations: 0 / 0.6088 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003703/0.4538, allocations: 58.41 kB / 0.6089 GB, free: 40.54 MB / 0.4981 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 (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.000183/0.454, allocations: 106.6 kB / 0.609 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.4554, allocations: 473.2 kB / 0.6094 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4554, allocations: 4.875 kB / 0.6095 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.4561, allocations: 251.8 kB / 0.6097 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4563, allocations: 10.3 kB / 0.6097 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.4604, allocations: 0.8668 MB / 0.6105 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.4605, allocations: 0.6993 MB / 0.6112 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000657/0.4611, allocations: 92.86 kB / 0.6113 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.4614, allocations: 55.31 kB / 0.6114 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4614, allocations: 0.6562 kB / 0.6114 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.004933/0.4663, allocations: 3.251 MB / 0.6145 GB, free: 39.3 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: