Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 289.7 MB / 302.2 MB, free: 2.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 178.7 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000926/0.0009262, allocations: 90.59 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.823e-05/4.825e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2902, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9638/1.254, allocations: 139.7 MB / 1.116 GB, free: 44.22 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/1.254, allocations: 79.27 kB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01101/1.265, allocations: 4.052 MB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.303e-06/1.265, allocations: 0 / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.265, allocations: 0 / 1.12 GB, free: 41.79 MB / 0.7448 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.0003096/1.266, allocations: 360.3 kB / 1.121 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.266, allocations: 12.59 kB / 1.121 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/1.266, allocations: 68.09 kB / 1.121 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/1.266, allocations: 167.5 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.266, allocations: 4 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/1.266, allocations: 7.266 kB / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/1.266, allocations: 55.53 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/1.266, allocations: 1.219 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.266, allocations: 3.688 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.267, allocations: 1.219 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/1.267, allocations: 15.69 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/1.267, allocations: 164 kB / 1.121 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/1.267, allocations: 63.86 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/1.267, allocations: 20.55 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/1.267, allocations: 4 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/1.267, allocations: 34.5 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/1.267, allocations: 0.6562 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0004866/1.268, allocations: 285.8 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.268, allocations: 51.41 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/1.268, allocations: 89 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.268, allocations: 30.83 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.525e-05/1.268, allocations: 80.14 kB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/1.268, allocations: 26.83 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/1.268, allocations: 0 / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/1.268, allocations: 315 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/1.268, allocations: 15.5 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/1.268, allocations: 12.62 kB / 1.122 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/1.268, allocations: 14.92 kB / 1.122 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.268, allocations: 3.953 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001089/1.268, allocations: 68.58 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.268, allocations: 9.25 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.268, allocations: 0.6562 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.268, allocations: 0 / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.268, allocations: 31.03 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.268, allocations: 0 / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/1.268, allocations: 15.42 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/1.268, allocations: 8.656 kB / 1.122 GB, free: 39.73 MB / 0.7448 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 4.652e-05/1.268, allocations: 104.7 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/1.268, allocations: 11.95 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/1.269, allocations: 86.48 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.269, allocations: 8.219 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.269, allocations: 0.6562 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.269, allocations: 0 / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/1.269, allocations: 171.3 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.269, allocations: 7.953 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/1.269, allocations: 23.34 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.269, allocations: 0 / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/1.269, allocations: 4 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.269, allocations: 5.375 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.269, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/1.269, allocations: 113.5 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/1.269, allocations: 88.47 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/1.269, allocations: 6.844 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.269, allocations: 23.91 kB / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/1.269, allocations: 7.688 kB / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/1.269, allocations: 0 / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.519e-05/1.269, allocations: 83.69 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.269, allocations: 0 / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002056/1.27, allocations: 39.31 kB / 1.123 GB, free: 38.96 MB / 0.7448 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.000201/1.27, allocations: 143.8 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00012/1.27, allocations: 39.34 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.27, allocations: 3.688 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/1.27, allocations: 23.5 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/1.27, allocations: 3.328 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/1.271, allocations: 136 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/1.271, allocations: 0.6808 MB / 1.124 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001055/1.271, allocations: 20.36 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/1.271, allocations: 15 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.271, allocations: 0 / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.003191/1.274, allocations: 1.095 MB / 1.125 GB, free: 37.32 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)