Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.019/5.019, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003842/0.003842, allocations: 358.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.195/4.195, allocations: 410.7 MB / 1.112 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 186.9 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004991, allocations: 15.98 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6003/0.6008, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006051/0.6014, allocations: 337.1 kB / 1.461 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.6031, allocations: 1.422 MB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.6031, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.6031, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.109e-05/0.6032, allocations: 1.375 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.6036, allocations: 111.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.6037, allocations: 23.97 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.6037, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.6037, allocations: 15.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.6038, allocations: 27.95 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.6039, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.6043, allocations: 308.3 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.6043, allocations: 3.984 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.6044, allocations: 33.64 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.6046, allocations: 132.6 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.45e-06/0.6046, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6046, allocations: 2.625 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.677e-06/0.6046, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 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.0004114/0.6051, allocations: 357.5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6051, allocations: 11.62 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.6056, allocations: 81.88 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.6057, allocations: 166.9 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.6057, allocations: 3.938 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.6058, allocations: 8.594 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.6061, allocations: 80.41 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.907e-06/0.6061, allocations: 4.438 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.6061, allocations: 1 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-06/0.6061, allocations: 2.719 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.6065, allocations: 80.41 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.6067, allocations: 172.1 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.6074, allocations: 145.7 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.6076, allocations: 47.98 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004809/0.6081, allocations: 175.2 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.6082, allocations: 31.81 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.886e-06/0.6082, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.001268/0.6094, allocations: 438.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.6095, allocations: 55.84 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.6095, allocations: 94.64 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.6096, allocations: 30.73 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.676e-05/0.6096, allocations: 80.14 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.6096, allocations: 22.81 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-06/0.6097, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.6097, allocations: 318.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.6099, allocations: 37.56 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.6101, allocations: 46.55 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.6103, allocations: 42.14 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-06/0.6103, allocations: 6.047 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004294/0.6108, allocations: 121.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6108, allocations: 7.594 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.572e-06/0.6108, allocations: 0.5938 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6108, allocations: 5.438 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.611, allocations: 29.16 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6111, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.6112, allocations: 17.52 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.6112, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/0.6113, allocations: 118.1 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.6113, allocations: 13 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.6118, allocations: 144.8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-06/0.6119, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.832e-06/0.6119, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.564e-06/0.6119, allocations: 1.906 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.612, allocations: 174.2 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-06/0.612, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.6122, allocations: 37.97 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.464e-06/0.6123, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6123, allocations: 4 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-06/0.6123, allocations: 1.156 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-06/0.6123, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.613, allocations: 209.8 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.6131, allocations: 89.03 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.6131, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.6132, allocations: 17.45 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.6133, allocations: 5.125 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6133, allocations: 11.98 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.451e-05/0.6133, allocations: 76.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.01e-07/0.6134, allocations: 7.938 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003102/0.6137, allocations: 24 kB / 1.467 GB, free: 278.1 MB / 0.8542 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 (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.0001865/0.6139, allocations: 133.9 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.6143, allocations: 96.89 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.113e-06/0.6143, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.6146, allocations: 54.64 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.6148, allocations: 7.953 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.6154, allocations: 207.2 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.6155, allocations: 0.6809 MB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.6157, allocations: 22.25 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.6158, allocations: 12.28 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.535e-06/0.6158, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003699/0.6195, allocations: 1.094 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB