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 4.941/4.941, allocations: 0.5623 GB / 0.5776 GB, free: 3.309 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.002542/0.002542, allocations: 350.3 kB / 0.6447 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.274/4.274, allocations: 410.7 MB / 1.113 GB, free: 5.867 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.001869/0.001869, allocations: 187.9 kB / 1.226 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005046, allocations: 12 kB / 1.349 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.722, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007678/0.7228, allocations: 337.3 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.7247, allocations: 1.417 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.7248, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.7248, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.696e-05/0.7249, allocations: 1.469 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.7254, allocations: 113.9 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.7254, allocations: 23.95 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.7255, allocations: 2.562 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.7255, allocations: 23.92 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.7256, allocations: 19.97 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.7257, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.7262, allocations: 307.3 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.7263, allocations: 7.984 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.7263, allocations: 29.64 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.7266, allocations: 136.8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7266, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7266, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.7266, allocations: 2.125 kB / 1.464 GB, free: 281.9 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.0005763/0.7272, allocations: 349.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.7273, allocations: 11.62 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007408/0.728, allocations: 85.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.7281, allocations: 167.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.7282, allocations: 15.88 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.7282, allocations: 0.7188 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.7286, allocations: 80.94 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7286, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.7287, allocations: 2.016 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.7287, allocations: 0.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.7292, allocations: 77.12 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.7294, allocations: 174.1 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009357/0.7303, allocations: 142.5 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.7306, allocations: 48.33 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/0.7314, allocations: 175.9 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.7314, allocations: 35.44 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.344e-06/0.7314, allocations: 4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.001725/0.7332, allocations: 439.5 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.7332, allocations: 54.91 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.7333, allocations: 93.86 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.7333, allocations: 25.7 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.7333, allocations: 84.14 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.7334, allocations: 15.8 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.7334, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.7335, allocations: 318.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.7337, allocations: 42.88 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.734, allocations: 47.86 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.7343, allocations: 33.36 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7343, allocations: 7.984 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006193/0.7349, allocations: 120.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.735, allocations: 8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.735, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.735, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.7353, allocations: 32.62 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.7353, allocations: 2.312 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.7355, allocations: 11.98 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.7355, 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 7.398e-05/0.7356, allocations: 112.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.7356, allocations: 15.84 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.7363, allocations: 144.1 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7364, allocations: 0.6562 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7364, allocations: 1.156 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.7364, allocations: 98.28 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.7365, allocations: 3.984 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.7367, allocations: 20.92 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.7367, allocations: 10.02 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007952/0.7375, allocations: 223 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000949/0.7385, allocations: 350.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002929/0.7388, allocations: 55.52 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.5e-05/0.7389, allocations: 75.28 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of Backend: time 7.31e-07/0.7389, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008959/0.7398, allocations: 181.6 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003718/0.7402, allocations: 0.5701 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.005168/0.7453, allocations: 1.616 MB / 1.47 GB, free: 275.7 MB / 0.8542 GB