Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.112/2.112, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 171.5 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.467/2.467, allocations: 205.4 MB / 0.5764 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 93.55 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004981, allocations: 14.53 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 106.3 MB / 0.8988 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.4365, allocations: 132.3 MB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.4369, allocations: 79.95 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02235/0.4593, allocations: 4.152 MB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4594, allocations: 0 / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.4594, allocations: 0 / 1.032 GB, free: 9.195 MB / 0.6823 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.0006015/0.46, allocations: 395 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4601, allocations: 12.03 kB / 1.033 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.4601, allocations: 30.56 kB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.4606, allocations: 59.84 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.4608, allocations: 171 kB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4608, allocations: 12 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.4609, allocations: 0 / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.4613, allocations: 77.64 kB / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4614, allocations: 7.938 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4614, allocations: 0 / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4614, allocations: 4 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.4621, allocations: 83.86 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.4624, allocations: 177.5 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4634, allocations: 150.5 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4634, allocations: 3.984 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4635, allocations: 36.06 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.875e-06/0.4635, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 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.009716/0.4732, allocations: 1.02 MB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.4733, allocations: 51.41 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4734, allocations: 105 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.4735, allocations: 29.7 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.4736, allocations: 80.14 kB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.4736, allocations: 31.55 kB / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.4737, allocations: 4 kB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4738, allocations: 326.8 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008919/0.4747, allocations: 123.9 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/0.4756, allocations: 131.8 kB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.4765, allocations: 127.9 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4765, allocations: 0 / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001925/0.4784, allocations: 317.6 kB / 1.036 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4785, allocations: 4 kB / 1.036 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4785, allocations: 96 / 1.036 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4785, allocations: 3.938 kB / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/0.4793, allocations: 71.91 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4793, allocations: 4 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.4799, allocations: 47.95 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.4799, allocations: 7.984 kB / 1.036 GB, free: 5.324 MB / 0.6823 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.00014/0.4801, allocations: 117.8 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.4801, allocations: 0 / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.4802, allocations: 20.34 kB / 1.036 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4802, allocations: 4 kB / 1.036 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4802, allocations: 0 / 1.036 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4803, allocations: 0 / 1.036 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.4837, allocations: 0.6966 MB / 1.037 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4838, allocations: 0.75 kB / 1.037 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.4844, allocations: 67.98 kB / 1.037 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.4844, allocations: 7.938 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.4845, allocations: 7.984 kB / 1.037 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.4845, allocations: 7.953 kB / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4845, allocations: 4 kB / 1.037 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4864, allocations: 428.3 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.4865, allocations: 85.06 kB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.4866, allocations: 0 / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.4871, allocations: 51.95 kB / 1.037 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.4872, allocations: 15.91 kB / 1.037 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.4873, allocations: 4 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.4874, allocations: 91.66 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4874, allocations: 4 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004316/0.4878, allocations: 35.94 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.002395/0.4902, allocations: 1.117 MB / 1.038 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.4921, allocations: 279.8 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4922, allocations: 0 / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.4931, allocations: 143.9 kB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.4933, allocations: 4 kB / 1.039 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.5, allocations: 1.216 MB / 1.04 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.5004, allocations: 0.6964 MB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002564/0.5007, allocations: 24.73 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.5009, allocations: 35.39 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/0.5009, allocations: 0 / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.5274, allocations: 2.658 MB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/0.5278, allocations: 203.8 kB / 1.044 GB, free: 13.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/2.972, allocations: 0 / 1.044 GB, free: 13.19 MB / 0.698 GB