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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7385/0.7385, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001961/0.001961, allocations: 190.4 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 88.88 kB / 485.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.09 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.161, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.003557/0.1647, allocations: 0.8465 MB / 0.6325 GB, free: 32.21 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1676, allocations: 1.538 MB / 0.634 GB, free: 30.65 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.1677, allocations: 0 / 0.634 GB, free: 30.65 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.1677, allocations: 0 / 0.634 GB, free: 30.65 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.1678, allocations: 4 kB / 0.634 GB, free: 30.65 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.1685, allocations: 113.5 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1687, allocations: 59.78 kB / 0.6342 GB, free: 30.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.1687, allocations: 7.984 kB / 0.6342 GB, free: 30.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.1688, allocations: 27.91 kB / 0.6342 GB, free: 30.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.1689, allocations: 27.91 kB / 0.6342 GB, free: 30.42 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1689, allocations: 8 kB / 0.6343 GB, free: 30.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.1696, allocations: 315.3 kB / 0.6346 GB, free: 30.1 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.1696, allocations: 11.92 kB / 0.6346 GB, free: 30.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1697, allocations: 27.86 kB / 0.6346 GB, free: 30.06 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.1701, allocations: 207.6 kB / 0.6348 GB, free: 29.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1701, allocations: 0 / 0.6348 GB, free: 29.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1702, allocations: 0 / 0.6348 GB, free: 29.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1702, allocations: 0 / 0.6348 GB, free: 29.86 MB / 442.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.0007147/0.1709, allocations: 399.7 kB / 0.6352 GB, free: 29.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1709, allocations: 15.97 kB / 0.6352 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.1716, allocations: 72.75 kB / 0.6353 GB, free: 29.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1717, allocations: 180.2 kB / 0.6354 GB, free: 29.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.1717, allocations: 8.375 kB / 0.6354 GB, free: 29.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.1718, allocations: 8.359 kB / 0.6354 GB, free: 29.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.1723, allocations: 117.9 kB / 0.6356 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1723, allocations: 0 / 0.6356 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1723, allocations: 0 / 0.6356 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1723, allocations: 0 / 0.6356 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.173, allocations: 103.9 kB / 0.6357 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.1737, allocations: 328.6 kB / 0.636 GB, free: 28.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.1746, allocations: 166.4 kB / 0.6361 GB, free: 28.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.175, allocations: 52.75 kB / 0.6362 GB, free: 28.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.175, allocations: 4 kB / 0.6362 GB, free: 28.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.175, allocations: 38.56 kB / 0.6362 GB, free: 28.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.175, allocations: 0 / 0.6362 GB, free: 28.23 MB / 442.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.02362/0.1987, allocations: 2.829 MB / 0.639 GB, free: 25.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.1988, allocations: 59.33 kB / 0.639 GB, free: 25.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.1989, allocations: 105.9 kB / 0.6391 GB, free: 25.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.1989, allocations: 25.7 kB / 0.6392 GB, free: 25.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.199, allocations: 92.06 kB / 0.6393 GB, free: 25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.1991, allocations: 35.47 kB / 0.6393 GB, free: 24.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.1993, allocations: 69.58 kB / 0.6394 GB, free: 24.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.1994, allocations: 318.8 kB / 0.6397 GB, free: 24.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008966/0.2003, allocations: 188 kB / 0.6398 GB, free: 24.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.2012, allocations: 208.9 kB / 0.64 GB, free: 24.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.2029, allocations: 390.2 kB / 0.6404 GB, free: 23.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.203, allocations: 0 / 0.6404 GB, free: 23.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002041/0.205, allocations: 477.1 kB / 0.6409 GB, free: 23.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.2051, allocations: 7.984 kB / 0.6409 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.2051, allocations: 0 / 0.6409 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.2051, allocations: 0 / 0.6409 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2062, allocations: 107.8 kB / 0.641 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.2062, allocations: 7.875 kB / 0.641 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.2071, allocations: 47.94 kB / 0.641 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.2071, allocations: 23.94 kB / 0.641 GB, free: 23.14 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.2073, allocations: 113.8 kB / 0.6412 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.2075, allocations: 7.906 kB / 0.6412 GB, free: 23.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.2076, allocations: 15.95 kB / 0.6412 GB, free: 23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2076, allocations: 0 / 0.6412 GB, free: 23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.2076, allocations: 3.938 kB / 0.6412 GB, free: 23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2076, allocations: 4 kB / 0.6412 GB, free: 22.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.2105, allocations: 1.043 MB / 0.6422 GB, free: 21.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2106, allocations: 3.984 kB / 0.6422 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.2116, allocations: 103.8 kB / 0.6423 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.2117, allocations: 7.938 kB / 0.6423 GB, free: 21.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/0.2117, allocations: 19.94 kB / 0.6423 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2118, allocations: 0 / 0.6423 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2118, allocations: 0 / 0.6423 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02976/0.2415, allocations: 3.709 MB / 0.646 GB, free: 17.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.2418, allocations: 113 kB / 0.6461 GB, free: 17.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.2419, allocations: 8 kB / 0.6461 GB, free: 17.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/0.2428, allocations: 44 kB / 0.6461 GB, free: 17.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.243, allocations: 27.92 kB / 0.6461 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.2431, allocations: 23.94 kB / 0.6462 GB, free: 17.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.2432, allocations: 83.27 kB / 0.6462 GB, free: 17.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.093e-06/0.2432, allocations: 4 kB / 0.6462 GB, free: 17.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006569/0.2439, allocations: 55.94 kB / 0.6463 GB, free: 17.48 MB / 442.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 (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.0002569/0.2441, allocations: 115.2 kB / 0.6464 GB, free: 17.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.2463, allocations: 419.5 kB / 0.6468 GB, free: 16.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2463, allocations: 0 / 0.6468 GB, free: 16.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.2473, allocations: 231.7 kB / 0.647 GB, free: 16.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.248, allocations: 12 kB / 0.647 GB, free: 16.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.2533, allocations: 0.9084 MB / 0.6479 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2535, allocations: 0.7043 MB / 0.6486 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009796/0.2544, allocations: 84.67 kB / 0.6487 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.2548, allocations: 55.3 kB / 0.6488 GB, free: 14.89 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2548, allocations: 4 kB / 0.6488 GB, free: 14.89 MB / 442.7 MB Notification: Performance of Templates: time 0.007996/0.2628, allocations: 3.48 MB / 0.6522 GB, free: 11.41 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)