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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9617/0.9617, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 172.9 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.5 MB / 436.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.000907, allocations: 92.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 279.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.923e-05, allocations: 4 kB / 0.6766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3633, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.4946, allocations: 108.7 MB / 0.8635 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.495, allocations: 79.83 kB / 0.8636 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01326/0.5082, allocations: 4.095 MB / 0.8676 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5083, allocations: 0 / 0.8676 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5083, allocations: 0 / 0.8676 GB, free: 15.02 MB / 0.5417 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.0004711/0.5088, allocations: 370.4 kB / 0.8679 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.5088, allocations: 8.031 kB / 0.8679 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.5093, allocations: 63.92 kB / 0.868 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.5094, allocations: 159.1 kB / 0.8682 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.5094, allocations: 7.953 kB / 0.8682 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.5095, allocations: 0 / 0.8682 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.458e-05/0.5096, allocations: 19.94 kB / 0.8682 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.5097, allocations: 53.66 kB / 0.8682 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.5097, allocations: 0 / 0.8682 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.5097, allocations: 0 / 0.8682 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5097, allocations: 4 kB / 0.8682 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.5099, allocations: 146.2 kB / 0.8684 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.5102, allocations: 50.72 kB / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.5102, allocations: 20.84 kB / 0.8684 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.5103, allocations: 11.95 kB / 0.8685 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5103, allocations: 35.09 kB / 0.8685 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/0.5103, allocations: 7.938 kB / 0.8685 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.00131/0.5116, allocations: 422.1 kB / 0.8689 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.5117, allocations: 55.41 kB / 0.8689 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.771e-05/0.5118, allocations: 93 kB / 0.869 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.5118, allocations: 25.7 kB / 0.8691 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.5118, allocations: 80.14 kB / 0.8691 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.5119, allocations: 23.67 kB / 0.8692 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.5119, allocations: 0 / 0.8692 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.512, allocations: 314.8 kB / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.5121, allocations: 12 kB / 0.8695 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.5121, allocations: 12.12 kB / 0.8695 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.5124, allocations: 63.92 kB / 0.8695 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5124, allocations: 0 / 0.8695 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003646/0.5128, allocations: 117.6 kB / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.5128, allocations: 17.3 kB / 0.8697 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5128, allocations: 0 / 0.8697 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5128, allocations: 0 / 0.8697 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.513, allocations: 27.97 kB / 0.8697 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.513, allocations: 4 kB / 0.8697 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5131, allocations: 11.98 kB / 0.8697 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5132, allocations: 7.359 kB / 0.8697 GB, free: 12.59 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.5132, allocations: 104.9 kB / 0.8698 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.5133, allocations: 4 kB / 0.8698 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.5137, allocations: 145.6 kB / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5138, allocations: 0 / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5138, allocations: 0 / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5138, allocations: 4 kB / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.5139, allocations: 146.2 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5139, allocations: 0 / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.5141, allocations: 27.97 kB / 0.8701 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5141, allocations: 4 kB / 0.8701 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5141, allocations: 0 / 0.8701 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.5141, allocations: 320 / 0.8701 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.5141, allocations: 7.891 kB / 0.8701 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.5146, allocations: 165 kB / 0.8703 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.5147, allocations: 89.06 kB / 0.8704 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.5147, allocations: 0 / 0.8704 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.5148, allocations: 15.98 kB / 0.8704 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.5149, allocations: 11.94 kB / 0.8704 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.5149, allocations: 4 kB / 0.8704 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.515, allocations: 79.34 kB / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.515, allocations: 0 / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002373/0.5152, allocations: 43.92 kB / 0.8705 GB, free: 11.66 MB / 0.5417 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 () * 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 (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.0002391/0.5155, allocations: 135.2 kB / 0.8707 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.5156, allocations: 35.94 kB / 0.8707 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5156, allocations: 4 kB / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.5156, allocations: 19.98 kB / 0.8707 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.5158, allocations: 8.094 kB / 0.8707 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.5163, allocations: 115.9 kB / 0.8708 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5166, allocations: 0.6884 MB / 0.8715 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.5167, allocations: 23.89 kB / 0.8715 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.5168, allocations: 15.38 kB / 0.8716 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5168, allocations: 0 / 0.8716 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of Templates: time 0.003362/0.5202, allocations: 1.057 MB / 0.8726 GB, free: 9.512 MB / 0.5417 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)