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.8514/0.8514, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 185.7 kB / 187.3 MB, free: 11.89 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.523/1.523, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.0009222/0.0009222, allocations: 94.36 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001857, allocations: 274.4 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.526e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4411, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.5625, allocations: 109.7 MB / 0.8714 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5628, allocations: 82.34 kB / 0.8715 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.5748, allocations: 3.827 MB / 0.8752 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.33e-06/0.5749, allocations: 4 kB / 0.8752 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5749, allocations: 0 / 0.8752 GB, free: 10.93 MB / 0.5417 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.0004275/0.5753, allocations: 379.5 kB / 0.8756 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5754, allocations: 8.031 kB / 0.8756 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/0.5757, allocations: 71.91 kB / 0.8757 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5759, allocations: 167 kB / 0.8758 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5759, allocations: 3.953 kB / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.5759, allocations: 0 / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.576, allocations: 57.61 kB / 0.8759 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.5761, allocations: 0 / 0.8759 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5761, allocations: 7.938 kB / 0.8759 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5761, allocations: 0 / 0.8759 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/0.5762, allocations: 20 kB / 0.8759 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.5766, allocations: 292.8 kB / 0.8762 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.5767, allocations: 42.58 kB / 0.8763 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.5768, allocations: 20.91 kB / 0.8763 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5768, allocations: 0 / 0.8763 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5769, allocations: 34.5 kB / 0.8763 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5769, allocations: 0 / 0.8763 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.5771, allocations: 49.7 kB / 0.8764 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.5771, allocations: 55.44 kB / 0.8764 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.5772, allocations: 101 kB / 0.8765 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5772, allocations: 25.7 kB / 0.8765 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.5773, allocations: 84.14 kB / 0.8766 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.5773, allocations: 7.906 kB / 0.8766 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.5773, allocations: 0 / 0.8766 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5775, allocations: 314.8 kB / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.5775, allocations: 15.98 kB / 0.8769 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.5775, allocations: 12 kB / 0.8769 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.5776, allocations: 8.656 kB / 0.8769 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5776, allocations: 0 / 0.8769 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.5777, allocations: 65.62 kB / 0.877 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5777, allocations: 7.938 kB / 0.877 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5777, allocations: 0 / 0.877 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5777, allocations: 0 / 0.877 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.5779, allocations: 32.25 kB / 0.877 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.578, allocations: 0 / 0.877 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.5781, allocations: 23.98 kB / 0.8771 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5781, allocations: 0 / 0.8771 GB, free: 8.855 MB / 0.5417 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 () * 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 8.076e-05/0.5782, allocations: 112.9 kB / 0.8772 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.5783, allocations: 7.891 kB / 0.8772 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.5783, allocations: 7.062 kB / 0.8772 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5783, allocations: 0 / 0.8772 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5783, allocations: 0 / 0.8772 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5783, allocations: 0 / 0.8772 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.5785, allocations: 177.6 kB / 0.8774 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5785, allocations: 0 / 0.8774 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.5786, allocations: 27.97 kB / 0.8774 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5787, allocations: 0 / 0.8774 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5787, allocations: 11.94 kB / 0.8774 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5787, allocations: 0 / 0.8774 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5787, allocations: 0 / 0.8774 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.5788, allocations: 147.5 kB / 0.8775 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.5789, allocations: 85.14 kB / 0.8776 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.5789, allocations: 0 / 0.8776 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.5791, allocations: 23.97 kB / 0.8776 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.5791, allocations: 0 / 0.8776 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.5791, allocations: 4 kB / 0.8776 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.5792, allocations: 79.28 kB / 0.8777 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5792, allocations: 8 kB / 0.8777 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002292/0.5794, allocations: 15.98 kB / 0.8777 GB, free: 8.074 MB / 0.5417 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 () * 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.0001621/0.5796, allocations: 115.2 kB / 0.8779 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.5797, allocations: 31.94 kB / 0.8779 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5797, allocations: 0 / 0.8779 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.5797, allocations: 15.98 kB / 0.8779 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.5799, allocations: 4 kB / 0.8779 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.5803, allocations: 108.9 kB / 0.878 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.5806, allocations: 0.6809 MB / 0.8787 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.044e-05/0.5807, allocations: 11.94 kB / 0.8787 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.5808, allocations: 11.44 kB / 0.8787 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/0.5808, allocations: 0 / 0.8787 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of Templates: time 0.002617/0.5834, allocations: 0.7195 MB / 0.8794 GB, free: 6.324 MB / 0.5417 GB 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)