Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001026/0.001026, allocations: 178.4 kB / 326.5 MB, free: 2.68 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.075/2.075, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008845/0.0008844, allocations: 89.25 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 12.81 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2609, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001763/0.2627, allocations: 1.172 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2639, allocations: 0.8599 MB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.2639, allocations: 0 / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.264, allocations: 3.938 kB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-05/0.264, allocations: 7.984 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.2644, allocations: 99.67 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.2645, allocations: 35.86 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.2646, allocations: 4 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.2646, allocations: 11.98 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.2647, allocations: 19.92 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.2647, allocations: 0 / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.2651, allocations: 315.3 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.2652, allocations: 7.984 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2652, allocations: 7.938 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2654, allocations: 151.8 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2654, allocations: 0 / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2654, allocations: 0 / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2654, allocations: 0 / 0.8993 GB, free: 65.48 MB / 0.6042 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.0004919/0.2659, allocations: 375.4 kB / 0.8997 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.266, allocations: 12.03 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.2664, allocations: 80.84 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.2665, allocations: 176.2 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.2666, allocations: 4.359 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2666, allocations: 384 / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.2669, allocations: 101.9 kB / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2669, allocations: 0 / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2669, allocations: 0 / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2669, allocations: 4 kB / 0.9001 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.2673, allocations: 119.9 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.2678, allocations: 300.9 kB / 0.9005 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.2681, allocations: 114.4 kB / 0.9006 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2683, allocations: 68.86 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2684, allocations: 7.938 kB / 0.9007 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.2684, allocations: 34.56 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2684, allocations: 0 / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0006563/0.269, allocations: 197.5 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.2691, allocations: 59.52 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.2691, allocations: 101.9 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.2692, allocations: 25.7 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.2692, allocations: 88.05 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.2692, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.2693, allocations: 13.7 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.2693, allocations: 318.8 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.2695, allocations: 55.95 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.2697, allocations: 55.95 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.27, allocations: 120.8 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.27, allocations: 0 / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003887/0.2704, allocations: 157.4 kB / 0.9018 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2705, allocations: 4 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2705, allocations: 0 / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2705, allocations: 0 / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.2707, allocations: 31.91 kB / 0.9019 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2707, allocations: 4.031 kB / 0.9019 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2708, allocations: 23.97 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2708, allocations: 0 / 0.9019 GB, free: 62.66 MB / 0.6042 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 5.703e-05/0.2709, allocations: 117.8 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.2709, allocations: 0 / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.2709, allocations: 11.12 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2709, allocations: 4 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2709, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2709, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.2711, allocations: 173.6 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2711, allocations: 0 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.2712, allocations: 27.97 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2712, allocations: 4 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2712, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2712, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2713, allocations: 256 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.2717, allocations: 251.3 kB / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.2717, allocations: 81.02 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2718, allocations: 4 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2719, allocations: 28 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.272, allocations: 0 / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.272, allocations: 7.984 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.272, allocations: 87.22 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.272, allocations: 0 / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002135/0.2722, allocations: 15.94 kB / 0.9027 GB, free: 61.77 MB / 0.6042 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.2724, allocations: 109.4 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.2728, allocations: 119.9 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2728, allocations: 0 / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.273, allocations: 63.95 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.2733, allocations: 7.922 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.2738, allocations: 208.9 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2739, allocations: 0.677 MB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.274, allocations: 15.42 kB / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.274, allocations: 0 / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.002218/0.2762, allocations: 0.8793 MB / 0.9047 GB, free: 59.63 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)