Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.939/4.939, allocations: 0.5623 GB / 0.577 GB, free: 3.391 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.002396/0.002395, allocations: 356.6 kB / 0.644 GB, free: 185.7 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.121/4.121, allocations: 410.7 MB / 1.112 GB, free: 6.047 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.001778/0.001778, allocations: 190.2 kB / 1.225 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004965, allocations: 15.98 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5858/0.5864, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001436/0.5879, allocations: 1.153 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.589, allocations: 0.7651 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.5891, allocations: 0.6562 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.5891, allocations: 2.344 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.5892, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.5896, allocations: 103 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.5896, allocations: 27.92 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.113e-05/0.5897, allocations: 3.984 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.5898, allocations: 15.94 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.5898, allocations: 15.97 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.5899, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.5903, allocations: 311.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.5904, allocations: 9.297 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.5904, allocations: 25.7 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.5906, allocations: 138 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.088e-06/0.5907, allocations: 0.6562 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.872e-06/0.5907, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.065e-06/0.5907, allocations: 1.375 kB / 1.463 GB, free: 281.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004466/0.5911, allocations: 376.1 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5912, allocations: 12.25 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005792/0.5918, allocations: 81.59 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.5919, allocations: 167 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.5919, allocations: 5.75 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.5919, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.5923, allocations: 102.9 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.849e-06/0.5923, allocations: 0.7812 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5923, allocations: 3.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-06/0.5923, allocations: 0.6562 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.5928, allocations: 110.9 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.5934, allocations: 304 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.5939, allocations: 113 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.5941, allocations: 73.66 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5942, allocations: 4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.5942, allocations: 30.56 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 3.036e-06/0.5942, allocations: 0.6562 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0008411/0.595, allocations: 207.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.5951, allocations: 52.41 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.5952, allocations: 105.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.5952, allocations: 25.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.5952, allocations: 84.77 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.5953, allocations: 4.75 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-06/0.5953, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.5953, allocations: 319.7 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.5956, allocations: 60.8 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.5958, allocations: 58.03 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.5961, allocations: 56.77 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-06/0.5961, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000623/0.5967, allocations: 140.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5968, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.94e-06/0.5968, allocations: 0.9062 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5968, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.597, allocations: 30.12 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.047e-06/0.597, allocations: 7.891 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.5972, allocations: 35.78 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5972, allocations: 4 kB / 1.466 GB, free: 279.2 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 (2): * Single equations (assignments): 2 * 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.658e-05/0.5973, allocations: 109.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.5973, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.5974, allocations: 17.42 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-06/0.5974, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-06/0.5974, allocations: 3.938 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-06/0.5974, allocations: 3.953 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.5976, allocations: 161.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5976, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.5978, allocations: 39.06 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.946e-06/0.5978, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5979, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.398e-06/0.5979, allocations: 3.984 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.027e-06/0.5979, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.5984, allocations: 242.8 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.5985, allocations: 85.09 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.5985, allocations: 1.5 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.5987, allocations: 21.02 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.5988, allocations: 8.484 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.5988, allocations: 0.5938 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.5988, allocations: 84.72 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.281e-06/0.5988, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003298/0.5992, allocations: 27.89 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001429/0.5993, allocations: 104.1 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.5999, allocations: 114.8 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.924e-06/0.5999, allocations: 0.6562 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.6002, allocations: 67.97 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.6005, allocations: 2 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.6011, allocations: 181.1 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.6013, allocations: 0.6786 MB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000107/0.6014, allocations: 12.25 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.6014, allocations: 11.44 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.731e-06/0.6014, allocations: 0.5 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003145/0.6046, allocations: 0.7139 MB / 1.468 GB, free: 276.4 MB / 0.8542 GB