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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.067/1.067, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001743/0.001743, allocations: 245.6 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7123/0.7123, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 462.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.992e-05, allocations: 4.625 kB / 462.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001241/0.001261, allocations: 0.6212 MB / 463 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.002988, allocations: 1.479 MB / 464.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.003011, allocations: 0 / 464.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.003024, allocations: 0.625 kB / 464.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.051e-05/0.003055, allocations: 6 kB / 464.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.003539, allocations: 145.8 kB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.003609, allocations: 27.19 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.003644, allocations: 2.344 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.003709, allocations: 25.53 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.00378, allocations: 19.14 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003795, allocations: 3.812 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.004137, allocations: 252.6 kB / 465 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.004159, allocations: 10.22 kB / 465 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.004177, allocations: 10.22 kB / 465 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.004451, allocations: 200.2 kB / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004454, allocations: 0 / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004455, allocations: 1.375 kB / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.004464, allocations: 0.9062 kB / 465.2 MB, free: 15.29 MB / 426.7 MB 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.0003812/0.004845, allocations: 272.5 kB / 465.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004885, allocations: 11.38 kB / 465.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.005127, allocations: 52.05 kB / 465.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.078e-05/0.005218, allocations: 107.6 kB / 465.6 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.005234, allocations: 5.844 kB / 465.6 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.005261, allocations: 6.766 kB / 465.6 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.005431, allocations: 97.44 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005439, allocations: 192 / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005448, allocations: 2.312 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005455, allocations: 3.938 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.005493, allocations: 15.44 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.005598, allocations: 71.77 kB / 465.8 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.005756, allocations: 44.44 kB / 465.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.005781, allocations: 16.28 kB / 465.9 MB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.005932, allocations: 49.06 kB / 465.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.005954, allocations: 33.73 kB / 465.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.005955, allocations: 0 / 465.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003929/0.006348, allocations: 205.5 kB / 466.1 MB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.006374, allocations: 52.56 kB / 466.2 MB, free: 14.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.006426, allocations: 104.9 kB / 466.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.006438, allocations: 25.7 kB / 466.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.006462, allocations: 82.98 kB / 466.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.006488, allocations: 22.84 kB / 466.4 MB, free: 14.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.006521, allocations: 20.92 kB / 466.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.006599, allocations: 313.9 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.00662, allocations: 5.984 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.006639, allocations: 8.578 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.006688, allocations: 30.83 kB / 466.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.006689, allocations: 0 / 466.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.297e-05/0.006762, allocations: 47.73 kB / 466.8 MB, free: 13.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006774, allocations: 5.531 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006778, allocations: 3.531 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006789, allocations: 0 / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.006865, allocations: 21.14 kB / 466.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.006869, allocations: 5.641 kB / 466.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.006901, allocations: 12.14 kB / 466.9 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.006908, allocations: 5.938 kB / 466.9 MB, free: 13.8 MB / 426.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 (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 5.706e-05/0.006965, allocations: 111.2 kB / 467 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.006976, allocations: 1.953 kB / 467 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.007096, allocations: 70.81 kB / 467.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007098, allocations: 1.344 kB / 467.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.0071, allocations: 1.062 kB / 467.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.007106, allocations: 6.047 kB / 467.1 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.05e-05/0.007176, allocations: 69.45 kB / 467.2 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007177, allocations: 1.469 kB / 467.2 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.007241, allocations: 26.45 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007243, allocations: 0 / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.007251, allocations: 2.938 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007252, allocations: 0 / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007253, allocations: 1.438 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.00738, allocations: 94.83 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.007406, allocations: 7.984 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.007417, allocations: 1.094 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.574e-05/0.007453, allocations: 12.48 kB / 467.3 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.007469, allocations: 4.719 kB / 467.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.007474, allocations: 0 / 467.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.058e-05/0.007485, allocations: 13.75 kB / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007485, allocations: 3.938 kB / 467.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.007617, allocations: 28.53 kB / 467.3 MB, free: 13.39 MB / 426.7 MB 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.0001321/0.007749, allocations: 118.2 kB / 467.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.007825, allocations: 30.23 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.007828, allocations: 4.281 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.007854, allocations: 26.75 kB / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.264e-05/0.007916, allocations: 4 kB / 467.5 MB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.008175, allocations: 141.8 kB / 467.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.843e-05/0.008204, allocations: 59.34 kB / 467.7 MB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.752e-05/0.008261, allocations: 22.95 kB / 467.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.008326, allocations: 55.38 kB / 467.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008327, allocations: 0 / 467.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of Templates: time 0.002626/0.01095, allocations: 1.339 MB / 469.1 MB, free: 11.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.609534134157002]