Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.745/4.745, allocations: 0.5623 GB / 0.5776 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002637/0.002637, allocations: 362.5 kB / 0.6446 GB, free: 21.45 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.338/4.338, allocations: 410.7 MB / 1.113 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001808/0.001808, allocations: 185.1 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006488, allocations: 12.84 kB / 1.349 GB, free: 321.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2136, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001036/0.2147, allocations: 0.5008 MB / 1.462 GB, free: 220.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2167, allocations: 1.447 MB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.2168, allocations: 1.281 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.2169, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.2169, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.2175, allocations: 116.2 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.2176, allocations: 41.06 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.2176, allocations: 4 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.2177, allocations: 31.34 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.2178, allocations: 27.91 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.2178, allocations: 4 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.2184, allocations: 319.2 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.2185, allocations: 8 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.2185, allocations: 33.69 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.2188, allocations: 144 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2188, allocations: 4 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2188, allocations: 0 / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2188, allocations: 0 / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007667/0.2196, allocations: 394.6 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2197, allocations: 8.75 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007297/0.2204, allocations: 89.16 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.2205, allocations: 163 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2206, allocations: 8 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2206, allocations: 5.281 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.2212, allocations: 124.7 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2212, allocations: 0 / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.2213, allocations: 4.562 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2213, allocations: 0.6875 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008824/0.2222, allocations: 130 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.2229, allocations: 343.4 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.2241, allocations: 183.6 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.2246, allocations: 68.89 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2246, allocations: 0 / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2246, allocations: 39.2 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.2246, allocations: 1.469 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.03596/0.2606, allocations: 3.178 MB / 1.469 GB, free: 213.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.2607, allocations: 55.34 kB / 1.469 GB, free: 213.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.2608, allocations: 101.9 kB / 1.469 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.629e-05/0.2609, allocations: 38.64 kB / 1.469 GB, free: 213 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.2609, allocations: 84.08 kB / 1.469 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.261, allocations: 40.28 kB / 1.469 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.2611, allocations: 8 kB / 1.469 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.2612, allocations: 317.8 kB / 1.469 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.2624, allocations: 223 kB / 1.469 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.2636, allocations: 211.9 kB / 1.47 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.2649, allocations: 220.8 kB / 1.47 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2649, allocations: 0 / 1.47 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002792/0.2677, allocations: 0.5275 MB / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2678, allocations: 4 kB / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2678, allocations: 0 / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2678, allocations: 0 / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.2694, allocations: 115.8 kB / 1.47 GB, free: 211.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.2694, allocations: 12 kB / 1.47 GB, free: 211.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.2707, allocations: 63.92 kB / 1.47 GB, free: 211.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.2708, allocations: 23.94 kB / 1.471 GB, free: 211.2 MB / 0.8073 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 (13): * Single equations (assignments): 13 * 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 0.0001999/0.271, allocations: 111.6 kB / 1.471 GB, free: 211.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2711, allocations: 15.86 kB / 1.471 GB, free: 211.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.2712, allocations: 15.95 kB / 1.471 GB, free: 211 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2712, allocations: 0 / 1.471 GB, free: 211 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2712, allocations: 4 kB / 1.471 GB, free: 211 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.2714, allocations: 109 kB / 1.471 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2715, allocations: 4 kB / 1.471 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.2729, allocations: 59.92 kB / 1.471 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.273, allocations: 31.92 kB / 1.471 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004178/0.2772, allocations: 0.6714 MB / 1.472 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004226/0.2815, allocations: 0.9355 MB / 1.472 GB, free: 209.2 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001233/0.2828, allocations: 223.9 kB / 1.473 GB, free: 209 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.2828, allocations: 83.27 kB / 1.473 GB, free: 208.9 MB / 0.8073 GB Notification: Performance of Backend: time 8.12e-07/0.2828, allocations: 0 / 1.473 GB, free: 208.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.2849, allocations: 386 kB / 1.473 GB, free: 208.5 MB / 0.8073 GB Notification: Performance of SimCode: time 0.000739/0.2857, allocations: 0.6642 MB / 1.474 GB, free: 207.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.01374/0.2995, allocations: 6.506 MB / 1.48 GB, free: 201.3 MB / 0.8073 GB