Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00499/0.00499, allocations: 104.5 kB / 15.74 MB, free: 6.445 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.001179/0.001179, allocations: 193.4 kB / 16.67 MB, free: 6.355 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 274.6 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 95.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1678, allocations: 86.98 MB / 0.7664 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001702/0.1695, allocations: 0.5955 MB / 0.767 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1713, allocations: 1.45 MB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.1714, allocations: 4 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.1714, allocations: 3.938 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.279e-05/0.1715, allocations: 0 / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.172, allocations: 139.4 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.1721, allocations: 35.89 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.1721, allocations: 4 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.1722, allocations: 15.98 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.1723, allocations: 23.97 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1723, allocations: 0 / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.1727, allocations: 319.3 kB / 0.769 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1728, allocations: 11.92 kB / 0.769 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.1728, allocations: 7.984 kB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.1731, allocations: 187.6 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1731, allocations: 4 kB / 0.7692 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1731, allocations: 4 kB / 0.7692 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1731, allocations: 3.938 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000532/0.1737, allocations: 363.4 kB / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1737, allocations: 8.031 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004592/0.1742, allocations: 68.84 kB / 0.7696 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1743, allocations: 164.4 kB / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1743, allocations: 12.3 kB / 0.7697 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1744, allocations: 4.375 kB / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1746, allocations: 81.94 kB / 0.7698 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1747, allocations: 0 / 0.7698 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1747, allocations: 3.938 kB / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1747, allocations: 0 / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.175, allocations: 67.92 kB / 0.7699 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.1752, allocations: 161.7 kB / 0.7701 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.1758, allocations: 126.5 kB / 0.7702 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.176, allocations: 44.91 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004525/0.1764, allocations: 149 kB / 0.7704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1764, allocations: 42.5 kB / 0.7704 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1765, allocations: 0 / 0.7704 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.00116/0.1776, allocations: 406.1 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1777, allocations: 51.41 kB / 0.7708 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.1777, allocations: 101.8 kB / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1778, allocations: 25.7 kB / 0.771 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.1778, allocations: 80.14 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1778, allocations: 27.77 kB / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.1779, allocations: 25.7 kB / 0.7711 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.178, allocations: 310.8 kB / 0.7714 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1782, allocations: 31.97 kB / 0.7714 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1783, allocations: 39.97 kB / 0.7715 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.1786, allocations: 76.8 kB / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1786, allocations: 0 / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003679/0.179, allocations: 113.6 kB / 0.7716 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.179, allocations: 8 kB / 0.7716 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.179, allocations: 0 / 0.7716 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.179, allocations: 0 / 0.7716 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1792, allocations: 27.91 kB / 0.7717 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1792, allocations: 0 / 0.7717 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1793, allocations: 16.23 kB / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1793, allocations: 4 kB / 0.7717 GB, free: 2.707 MB / 0.5606 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 (6): * Single equations (assignments): 6 * 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 8.077e-05/0.1794, allocations: 110.5 kB / 0.7718 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.1794, allocations: 7.938 kB / 0.7718 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.1799, allocations: 137.2 kB / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1799, allocations: 0 / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1799, allocations: 3.938 kB / 0.7719 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1799, allocations: 3.938 kB / 0.7719 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1801, allocations: 169.7 kB / 0.7721 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1801, allocations: 3.938 kB / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1803, allocations: 27.91 kB / 0.7721 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1803, allocations: 0 / 0.7721 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1803, allocations: 0 / 0.7721 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1803, allocations: 4 kB / 0.7721 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1803, allocations: 0 / 0.7721 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.1809, allocations: 188.9 kB / 0.7723 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.181, allocations: 89.39 kB / 0.7724 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.181, allocations: 0 / 0.7724 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1811, allocations: 16.05 kB / 0.7724 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1812, allocations: 4 kB / 0.7724 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1812, allocations: 4 kB / 0.7724 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.1812, allocations: 87.2 kB / 0.7725 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1812, allocations: 0 / 0.7725 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002263/0.1814, allocations: 28 kB / 0.7725 GB, free: 1.742 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.000207/0.1817, allocations: 131.2 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.182, allocations: 88.02 kB / 0.7727 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1821, allocations: 0 / 0.7727 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1822, allocations: 47.91 kB / 0.7728 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.1824, allocations: 17.73 kB / 0.7728 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.183, allocations: 184.5 kB / 0.773 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1833, allocations: 0.6807 MB / 0.7736 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.126e-05/0.1834, allocations: 16 kB / 0.7737 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.1835, allocations: 19.42 kB / 0.7737 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1835, allocations: 0 / 0.7737 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of Templates: time 0.3059/0.4893, allocations: 1.148 MB / 0.7748 GB, free: 14.54 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)