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.001396/0.001396, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001447/0.001447, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7583/0.7583, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 72.41 kB / 0.5584 GB, free: 31.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 76.17 MB / 0.6328 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001771/0.1444, allocations: 0.7769 MB / 0.6335 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1461, allocations: 1.474 MB / 0.635 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.1461, allocations: 8 kB / 0.635 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.1462, allocations: 7.922 kB / 0.635 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.1462, allocations: 0 / 0.635 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.1467, allocations: 139.4 kB / 0.6351 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.1468, allocations: 55.89 kB / 0.6352 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1468, allocations: 7.984 kB / 0.6352 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.1469, allocations: 31.91 kB / 0.6352 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.147, allocations: 31.84 kB / 0.6352 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.147, allocations: 4 kB / 0.6353 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.1474, allocations: 319.3 kB / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.1475, allocations: 11.98 kB / 0.6356 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.1475, allocations: 27.84 kB / 0.6356 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1478, allocations: 211.5 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1478, allocations: 4 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1478, allocations: 4 kB / 0.6358 GB, free: 1.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1478, allocations: 3.938 kB / 0.6358 GB, free: 1.125 MB / 478.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.0006038/0.1484, allocations: 399.4 kB / 0.6362 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1485, allocations: 12.03 kB / 0.6362 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.1489, allocations: 68.77 kB / 0.6363 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.149, allocations: 164.4 kB / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1491, allocations: 4.375 kB / 0.6364 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1491, allocations: 8.375 kB / 0.6364 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.1495, allocations: 109.9 kB / 0.6365 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1495, allocations: 4 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1495, allocations: 4 kB / 0.6365 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1495, allocations: 0 / 0.6365 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.15, allocations: 107.8 kB / 0.6367 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.1506, allocations: 344.5 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.1513, allocations: 158.4 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1515, allocations: 56.81 kB / 0.6372 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1515, allocations: 0 / 0.6372 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1516, allocations: 38.55 kB / 0.6372 GB, free: 15.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1516, allocations: 0 / 0.6372 GB, free: 15.52 MB / 494.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.01824/0.1698, allocations: 2.832 MB / 0.64 GB, free: 12.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1699, allocations: 55.34 kB / 0.64 GB, free: 12.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.1699, allocations: 105.8 kB / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.17, allocations: 25.7 kB / 0.6402 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1701, allocations: 92.03 kB / 0.6403 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.1701, allocations: 39.39 kB / 0.6403 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1703, allocations: 69.58 kB / 0.6404 GB, free: 12.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.1704, allocations: 318.8 kB / 0.6407 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.1711, allocations: 195.8 kB / 0.6408 GB, free: 11.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.1717, allocations: 191.8 kB / 0.641 GB, free: 11.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.173, allocations: 392.5 kB / 0.6414 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1731, allocations: 0 / 0.6414 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00152/0.1746, allocations: 480.3 kB / 0.6419 GB, free: 10.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1746, allocations: 4 kB / 0.6419 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1746, allocations: 0 / 0.6419 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1746, allocations: 0 / 0.6419 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/0.1755, allocations: 111.7 kB / 0.642 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1755, allocations: 3.938 kB / 0.642 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.1761, allocations: 43.94 kB / 0.642 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.1762, allocations: 27.94 kB / 0.642 GB, free: 10.43 MB / 494.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.0001659/0.1763, allocations: 121.8 kB / 0.6422 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.1764, allocations: 7.906 kB / 0.6422 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.1765, allocations: 7.969 kB / 0.6422 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1765, allocations: 4 kB / 0.6422 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1765, allocations: 3.938 kB / 0.6422 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1765, allocations: 0 / 0.6422 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.1786, allocations: 1.051 MB / 0.6432 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1786, allocations: 0 / 0.6432 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/0.1795, allocations: 107.8 kB / 0.6433 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1795, allocations: 3.938 kB / 0.6433 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.1796, allocations: 24.03 kB / 0.6433 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1796, allocations: 3.938 kB / 0.6433 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1796, allocations: 0 / 0.6433 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.1819, allocations: 0.7994 MB / 0.6441 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.182, allocations: 120.9 kB / 0.6442 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.1821, allocations: 0 / 0.6442 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.1828, allocations: 51.98 kB / 0.6443 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.1829, allocations: 27.94 kB / 0.6443 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.1829, allocations: 23.92 kB / 0.6443 GB, free: 7.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.145e-05/0.183, allocations: 83.28 kB / 0.6444 GB, free: 7.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.183, allocations: 0 / 0.6444 GB, free: 7.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.1834, allocations: 52 kB / 0.6445 GB, free: 7.781 MB / 494.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.0001933/0.1836, allocations: 115.2 kB / 0.6446 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.185, allocations: 419.5 kB / 0.645 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.185, allocations: 4 kB / 0.645 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.1857, allocations: 223.7 kB / 0.6452 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1861, allocations: 13.55 kB / 0.6452 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.1903, allocations: 0.7814 MB / 0.646 GB, free: 6.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1905, allocations: 0.6885 MB / 0.6466 GB, free: 5.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.1909, allocations: 79.23 kB / 0.6467 GB, free: 5.41 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1909, allocations: 0 / 0.6467 GB, free: 5.41 MB / 494.1 MB Notification: Performance of Templates: time 0.005595/0.1965, allocations: 3.791 MB / 0.6504 GB, free: 1.605 MB / 494.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)