Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.115/1.115, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.978/1.978, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.71e-05, allocations: 4.031 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002766/0.002793, allocations: 1.511 MB / 0.7766 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.004228, allocations: 0.7834 MB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.004264, allocations: 1.469 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.004293, allocations: 5.438 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.004346, allocations: 1.859 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.004857, allocations: 128.2 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.00498, allocations: 42.52 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.005061, allocations: 0 / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.005134, allocations: 20.73 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.149e-05/0.005196, allocations: 19.91 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.005213, allocations: 5.531 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.005608, allocations: 251.4 kB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.005629, allocations: 8 kB / 0.7779 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.005651, allocations: 7.984 kB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.005971, allocations: 206.1 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.005975, allocations: 0 / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.242e-06/0.005976, allocations: 3.938 kB / 0.7781 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.00598, allocations: 0 / 0.7781 GB, free: 2.449 MB / 0.7292 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.0003942/0.006375, allocations: 280.5 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.006415, allocations: 9.344 kB / 0.7783 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.006701, allocations: 51.41 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.006863, allocations: 106.3 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.006878, allocations: 384 / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.006892, allocations: 1.125 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.007072, allocations: 81.56 kB / 0.7786 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.007086, allocations: 192 / 0.7786 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.007095, allocations: 384 / 0.7786 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007103, allocations: 3.938 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.028e-05/0.007143, allocations: 8 kB / 0.7786 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.007451, allocations: 175 kB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.007559, allocations: 38.56 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.007584, allocations: 11.33 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.007597, allocations: 0 / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.007619, allocations: 34.56 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.007621, allocations: 0 / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.007771, allocations: 49.56 kB / 0.7789 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.007806, allocations: 53.16 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.007868, allocations: 106.7 kB / 0.779 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.007881, allocations: 29.7 kB / 0.7791 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.007913, allocations: 84.08 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.007933, allocations: 7.953 kB / 0.7791 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.007969, allocations: 14.22 kB / 0.7792 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.008061, allocations: 319.9 kB / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.008086, allocations: 4 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.008104, allocations: 4.531 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.008145, allocations: 13.97 kB / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.008147, allocations: 0 / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.803e-05/0.008225, allocations: 42.45 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.008238, allocations: 4 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.008243, allocations: 0.7812 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.008258, allocations: 7.922 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.008347, allocations: 13.42 kB / 0.7796 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.008349, allocations: 3.938 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.008392, allocations: 9.438 kB / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.008401, allocations: 3.984 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.008466, allocations: 110.5 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.008492, allocations: 4 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.008519, allocations: 4.75 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.008523, allocations: 3.938 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008525, allocations: 4 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008528, allocations: 256 / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.008651, allocations: 70.77 kB / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.008655, allocations: 4 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.008715, allocations: 20.41 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008717, allocations: 0.8125 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.008723, allocations: 0 / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.008726, allocations: 4.922 kB / 0.7798 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.008727, allocations: 0 / 0.7798 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.008853, allocations: 140 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.008864, allocations: 8.641 kB / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.008876, allocations: 1.281 kB / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.008958, allocations: 7.984 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.008991, allocations: 7.938 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.008996, allocations: 1.188 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.448e-05/0.009011, allocations: 12.84 kB / 0.78 GB, free: 348 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009011, allocations: 0 / 0.78 GB, free: 348 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002266/0.009238, allocations: 17.56 kB / 0.78 GB, free: 332 kB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.009382, allocations: 80.42 kB / 0.7801 GB, free: 244 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.58e-05/0.009467, allocations: 21.88 kB / 0.7801 GB, free: 220 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.009471, allocations: 4 kB / 0.7801 GB, free: 216 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.009498, allocations: 9.891 kB / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.009684, allocations: 15.92 kB / 0.7801 GB, free: 188 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.01014, allocations: 131.4 kB / 0.7802 GB, free: 32 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.0102, allocations: 55.36 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.858e-05/0.01025, allocations: 10.14 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.01033, allocations: 59.36 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01033, allocations: 3.938 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.003087/0.01341, allocations: 0.9046 MB / 0.7812 GB, free: 15.03 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.036847049836069]