Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7901/0.7901, allocations: 143.4 MB / 159.2 MB, free: 4.848 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 176.5 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 447.3 MB, free: 5.812 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.5 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 285 kB / 0.5973 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 84.25 kB / 0.6885 GB, free: 3.793 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3297, allocations: 81.29 MB / 0.7679 GB, free: 27.61 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002435/0.3322, allocations: 1.509 MB / 0.7694 GB, free: 26.1 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3335, allocations: 0.8062 MB / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.3336, allocations: 0 / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.3336, allocations: 0 / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.3337, allocations: 7.938 kB / 0.7702 GB, free: 25.28 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.3342, allocations: 91.75 kB / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.105e-05/0.3343, allocations: 39.89 kB / 0.7703 GB, free: 25.15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.3344, allocations: 4 kB / 0.7703 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.3344, allocations: 19.92 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.3345, allocations: 15.98 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3345, allocations: 3.938 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.3349, allocations: 323.3 kB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3349, allocations: 7.922 kB / 0.7707 GB, free: 24.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.335, allocations: 11.94 kB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3352, allocations: 194.4 kB / 0.7709 GB, free: 24.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3352, allocations: 0 / 0.7709 GB, free: 24.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3352, allocations: 0 / 0.7709 GB, free: 24.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.3352, allocations: 0 / 0.7709 GB, free: 24.58 MB / 458.7 MB 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.00043/0.3357, allocations: 383.4 kB / 0.7712 GB, free: 24.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3357, allocations: 8.031 kB / 0.7713 GB, free: 24.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004269/0.3361, allocations: 68.84 kB / 0.7713 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.3362, allocations: 164.3 kB / 0.7715 GB, free: 23.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3362, allocations: 384 / 0.7715 GB, free: 23.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3363, allocations: 8.375 kB / 0.7715 GB, free: 23.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3365, allocations: 85.94 kB / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3366, allocations: 0 / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3366, allocations: 0 / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3366, allocations: 3.984 kB / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.337, allocations: 103.8 kB / 0.7717 GB, free: 23.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.3375, allocations: 296.9 kB / 0.772 GB, free: 23.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.3378, allocations: 90.5 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.338, allocations: 52.88 kB / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.338, allocations: 0 / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.3381, allocations: 38.55 kB / 0.7721 GB, free: 23.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3381, allocations: 0 / 0.7721 GB, free: 23.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006901/0.3388, allocations: 165.5 kB / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.3388, allocations: 51.41 kB / 0.7723 GB, free: 22.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.3389, allocations: 110 kB / 0.7724 GB, free: 22.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.3389, allocations: 25.7 kB / 0.7725 GB, free: 22.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.3389, allocations: 80.14 kB / 0.7725 GB, free: 22.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.3389, allocations: 7.906 kB / 0.7725 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.339, allocations: 17.7 kB / 0.7726 GB, free: 22.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.339, allocations: 314.8 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3392, allocations: 43.95 kB / 0.7729 GB, free: 22.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3394, allocations: 43.95 kB / 0.7729 GB, free: 22.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.3398, allocations: 100.7 kB / 0.773 GB, free: 22.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3398, allocations: 4 kB / 0.773 GB, free: 22.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004048/0.3402, allocations: 117.6 kB / 0.7732 GB, free: 22.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3402, allocations: 11.94 kB / 0.7732 GB, free: 22.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3402, allocations: 0 / 0.7732 GB, free: 22.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3403, allocations: 0 / 0.7732 GB, free: 22.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3404, allocations: 19.97 kB / 0.7732 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3404, allocations: 3.938 kB / 0.7732 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3406, allocations: 27.94 kB / 0.7732 GB, free: 21.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.3406, allocations: 0 / 0.7732 GB, free: 21.96 MB / 458.7 MB 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.309e-05/0.3406, allocations: 119.6 kB / 0.7733 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3407, allocations: 3.906 kB / 0.7733 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.3407, allocations: 3.125 kB / 0.7733 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3407, allocations: 4 kB / 0.7733 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3407, allocations: 0 / 0.7733 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3407, allocations: 3.984 kB / 0.7733 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.3408, allocations: 169.6 kB / 0.7735 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3409, allocations: 4 kB / 0.7735 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.341, allocations: 23.91 kB / 0.7735 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.341, allocations: 0 / 0.7735 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.341, allocations: 4 kB / 0.7735 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.341, allocations: 0 / 0.7735 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.341, allocations: 256 / 0.7735 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.3418, allocations: 0.8137 MB / 0.7743 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.3418, allocations: 81.02 kB / 0.7744 GB, free: 20.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.3418, allocations: 4 kB / 0.7744 GB, free: 20.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.342, allocations: 24 kB / 0.7744 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.342, allocations: 3.938 kB / 0.7744 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.342, allocations: 7.984 kB / 0.7744 GB, free: 20.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.23e-05/0.3421, allocations: 83.28 kB / 0.7745 GB, free: 20.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3421, allocations: 0 / 0.7745 GB, free: 20.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.3424, allocations: 12 kB / 0.7745 GB, free: 20.48 MB / 458.7 MB 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.0001461/0.3426, allocations: 119.2 kB / 0.7747 GB, free: 20.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004406/0.343, allocations: 91.91 kB / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.343, allocations: 0 / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3432, allocations: 55.88 kB / 0.7748 GB, free: 20.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3435, allocations: 1.547 kB / 0.7748 GB, free: 20.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.3441, allocations: 270.3 kB / 0.7751 GB, free: 19.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.3442, allocations: 0.6809 MB / 0.7757 GB, free: 19.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.586e-05/0.3443, allocations: 8 kB / 0.7757 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3443, allocations: 11.38 kB / 0.7757 GB, free: 19.17 MB / 458.7 MB Notification: Performance of SimCode: time 5.92e-07/0.3443, allocations: 0 / 0.7757 GB, free: 19.17 MB / 458.7 MB Notification: Performance of Templates: time 0.002442/0.3468, allocations: 0.7504 MB / 0.7765 GB, free: 18.43 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)