Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.883/4.883, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 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.002457/0.002457, allocations: 360.7 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.362/4.362, allocations: 410.7 MB / 1.113 GB, free: 6.043 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.001834/0.001833, allocations: 182.3 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005542, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7794, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009731/0.7804, allocations: 374.1 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.7828, allocations: 1.42 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.7829, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.7829, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.556e-05/0.783, allocations: 5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.7836, allocations: 92.98 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.7836, allocations: 20.64 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.7837, allocations: 7.984 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.7838, allocations: 18.39 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.7838, allocations: 23.86 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.7839, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006367/0.7845, allocations: 307.3 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.7845, allocations: 7.922 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.7846, allocations: 29.7 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.7849, allocations: 130 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7849, allocations: 1.781 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7849, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7849, allocations: 0 / 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005345/0.7855, allocations: 373.4 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7855, allocations: 11.62 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.7861, allocations: 84.39 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.7863, allocations: 178.9 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.7863, allocations: 1.781 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.7864, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.7868, allocations: 80.23 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.7868, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.7869, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7869, allocations: 6.422 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.7875, allocations: 85.14 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.7877, allocations: 171 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/0.7887, allocations: 151 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.7891, allocations: 50.31 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.7891, allocations: 1.125 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.7891, allocations: 34.56 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.7891, allocations: 0.5938 kB / 1.465 GB, free: 280.6 MB / 0.8542 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=9): time 0.007591/0.7967, allocations: 0.9452 MB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.7968, allocations: 52.75 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.7969, allocations: 113.8 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.797, allocations: 31.08 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.797, allocations: 88.12 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.7971, allocations: 27.56 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.7971, allocations: 4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.7972, allocations: 316.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.798, allocations: 115.1 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007605/0.7987, allocations: 118.7 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.7995, allocations: 123.5 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7996, allocations: 0 / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001762/0.8013, allocations: 279.4 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8014, allocations: 4.531 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.8014, allocations: 0 / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.8014, allocations: 9.141 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.802, allocations: 67.53 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.802, allocations: 4 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.8025, allocations: 43.58 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.8025, allocations: 12.64 kB / 1.467 GB, free: 278.3 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 (9): * Single equations (assignments): 9 * 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.000103/0.8026, allocations: 110.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.8027, allocations: 6.062 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.8027, allocations: 21.25 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8027, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8028, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.8028, allocations: 78.14 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.8028, allocations: 7.953 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.8033, allocations: 47.42 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.8033, allocations: 12.55 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002084/0.8054, allocations: 413.5 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001718/0.8072, allocations: 462.1 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007938/0.808, allocations: 136.8 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.8081, allocations: 87.28 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of Backend: time 6.41e-07/0.8081, allocations: 0 / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.8096, allocations: 259.9 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004367/0.8101, allocations: 0.5907 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.006506/0.8166, allocations: 2.134 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB