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.8056/0.8056, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001089/0.001089, allocations: 180.8 kB / 182.2 MB, free: 9.453 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.447/1.447, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.000961/0.0009611, allocations: 96.06 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 282.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.607e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3828, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5211, allocations: 109.1 MB / 0.8639 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5214, allocations: 71.84 kB / 0.864 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.534, allocations: 3.806 MB / 0.8677 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.463e-06/0.534, allocations: 0 / 0.8677 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.534, allocations: 0 / 0.8677 GB, free: 14.89 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.0004719/0.5345, allocations: 382.3 kB / 0.868 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5346, allocations: 12.03 kB / 0.8681 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003869/0.535, allocations: 63.92 kB / 0.8681 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.5351, allocations: 166.9 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.5351, allocations: 3.953 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5351, allocations: 4 kB / 0.8683 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/0.5353, allocations: 20 kB / 0.8683 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.963e-05/0.5354, allocations: 53.67 kB / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5354, allocations: 0 / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5354, allocations: 0 / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5354, allocations: 7.922 kB / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.5358, allocations: 277.4 kB / 0.8686 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.5359, allocations: 42.52 kB / 0.8687 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.536, allocations: 16.92 kB / 0.8687 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.536, allocations: 0 / 0.8687 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.536, allocations: 30.56 kB / 0.8687 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.536, allocations: 0 / 0.8687 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002754/0.5363, allocations: 73.66 kB / 0.8688 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5363, allocations: 55.44 kB / 0.8688 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.452e-05/0.5364, allocations: 96.94 kB / 0.8689 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5364, allocations: 25.7 kB / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.5365, allocations: 84.14 kB / 0.869 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.5365, allocations: 3.906 kB / 0.869 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.5365, allocations: 0 / 0.869 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.5366, allocations: 318.8 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.5366, allocations: 12 kB / 0.8694 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.5367, allocations: 19.94 kB / 0.8694 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.5368, allocations: 23.97 kB / 0.8694 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5368, allocations: 3.953 kB / 0.8694 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.537, allocations: 69.67 kB / 0.8695 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.537, allocations: 4 kB / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.537, allocations: 0 / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.537, allocations: 4.094 kB / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.5372, allocations: 28.22 kB / 0.8695 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5373, allocations: 0 / 0.8695 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.5374, allocations: 35.88 kB / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5374, allocations: 0 / 0.8695 GB, free: 12.8 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 7.648e-05/0.5375, allocations: 105 kB / 0.8696 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.5375, allocations: 3.953 kB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.5375, allocations: 7.75 kB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.5376, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5376, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5376, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5377, allocations: 150.2 kB / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5377, allocations: 0 / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5379, allocations: 31.91 kB / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5379, allocations: 3.953 kB / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.5379, allocations: 4 kB / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5379, allocations: 0 / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5379, allocations: 0 / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.5382, allocations: 167.5 kB / 0.87 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.5382, allocations: 85.02 kB / 0.8701 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.5382, allocations: 7.891 kB / 0.8701 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.5384, allocations: 31.94 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.5385, allocations: 0 / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.5385, allocations: 0 / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.5385, allocations: 83.28 kB / 0.8702 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5385, allocations: 0 / 0.8702 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002418/0.5388, allocations: 19.98 kB / 0.8702 GB, free: 12.04 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.0001472/0.5389, allocations: 107.2 kB / 0.8703 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.761e-05/0.539, allocations: 31.94 kB / 0.8703 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.539, allocations: 4 kB / 0.8703 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.5391, allocations: 19.98 kB / 0.8704 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.5393, allocations: 2.188 kB / 0.8704 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.5397, allocations: 96.09 kB / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.5399, allocations: 0.6807 MB / 0.8711 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.312e-05/0.54, allocations: 8 kB / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.5401, allocations: 7.438 kB / 0.8711 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.5401, allocations: 0 / 0.8711 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.002618/0.5427, allocations: 0.6892 MB / 0.8718 GB, free: 10.34 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)