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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7693/0.7693, allocations: 141.8 MB / 149.1 MB, free: 12.25 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 184 kB / 181.9 MB, free: 9.066 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.3 MB / 436 MB, free: 1.363 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009448, allocations: 96.06 kB / 0.507 GB, free: 10.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 278.2 kB / 0.5884 GB, free: 7.098 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.406e-06, allocations: 4 kB / 0.6759 GB, free: 13.44 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4037, allocations: 82.76 MB / 0.7567 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.5225, allocations: 109 MB / 0.8632 GB, free: 29.14 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5228, allocations: 71.95 kB / 0.8632 GB, free: 29.07 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.01087/0.5337, allocations: 3.528 MB / 0.8667 GB, free: 25.59 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5337, allocations: 0 / 0.8667 GB, free: 25.59 MB / 0.5575 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.0003614/0.5341, allocations: 389.5 kB / 0.8671 GB, free: 25.17 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5341, allocations: 9.281 kB / 0.8671 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.5345, allocations: 75.83 kB / 0.8671 GB, free: 25.09 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.207e-05/0.5346, allocations: 167 kB / 0.8673 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.5346, allocations: 0 / 0.8673 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.5347, allocations: 4 kB / 0.8673 GB, free: 24.88 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.841e-05/0.5348, allocations: 24 kB / 0.8673 GB, free: 24.86 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/0.5349, allocations: 49.61 kB / 0.8674 GB, free: 24.8 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5349, allocations: 3.984 kB / 0.8674 GB, free: 24.8 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.5349, allocations: 3.906 kB / 0.8674 GB, free: 24.8 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5349, allocations: 0 / 0.8674 GB, free: 24.8 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.5353, allocations: 277.4 kB / 0.8676 GB, free: 24.49 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.5354, allocations: 42.5 kB / 0.8677 GB, free: 24.44 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.5354, allocations: 28.83 kB / 0.8677 GB, free: 24.41 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.5355, allocations: 0 / 0.8677 GB, free: 24.41 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.5355, allocations: 30.56 kB / 0.8677 GB, free: 24.37 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5355, allocations: 4 kB / 0.8677 GB, free: 24.36 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.000294/0.5358, allocations: 69.66 kB / 0.8678 GB, free: 24.29 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.5358, allocations: 51.41 kB / 0.8679 GB, free: 24.23 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.5359, allocations: 97.03 kB / 0.8679 GB, free: 24.12 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.5359, allocations: 25.7 kB / 0.868 GB, free: 24.09 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.5359, allocations: 80.14 kB / 0.868 GB, free: 24.01 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.536, allocations: 11.89 kB / 0.8681 GB, free: 24 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.536, allocations: 0 / 0.8681 GB, free: 24 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.536, allocations: 314.8 kB / 0.8684 GB, free: 23.68 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.5361, allocations: 11.94 kB / 0.8684 GB, free: 23.67 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.5361, allocations: 12 kB / 0.8684 GB, free: 23.66 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.5362, allocations: 32.03 kB / 0.8684 GB, free: 23.63 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5362, allocations: 0 / 0.8684 GB, free: 23.63 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.5364, allocations: 73.56 kB / 0.8685 GB, free: 23.55 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5364, allocations: 7.281 kB / 0.8685 GB, free: 23.55 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5364, allocations: 0 / 0.8685 GB, free: 23.55 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5365, allocations: 0 / 0.8685 GB, free: 23.55 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.5366, allocations: 36 kB / 0.8685 GB, free: 23.51 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5367, allocations: 0 / 0.8685 GB, free: 23.51 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.5368, allocations: 27.97 kB / 0.8686 GB, free: 23.48 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.5368, allocations: 0 / 0.8686 GB, free: 23.48 MB / 0.5575 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 4.712e-05/0.5369, allocations: 108.9 kB / 0.8687 GB, free: 23.37 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.5369, allocations: 0 / 0.8687 GB, free: 23.37 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.5369, allocations: 13.83 kB / 0.8687 GB, free: 23.36 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5369, allocations: 3.938 kB / 0.8687 GB, free: 23.36 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5369, allocations: 0 / 0.8687 GB, free: 23.36 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5369, allocations: 4 kB / 0.8687 GB, free: 23.36 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.5371, allocations: 150.3 kB / 0.8688 GB, free: 23.17 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5371, allocations: 4 kB / 0.8688 GB, free: 23.17 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.5372, allocations: 35.97 kB / 0.8689 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5373, allocations: 0 / 0.8689 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5373, allocations: 0 / 0.8689 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5373, allocations: 0 / 0.8689 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5373, allocations: 0 / 0.8689 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002065/0.5375, allocations: 175.4 kB / 0.869 GB, free: 22.95 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.5375, allocations: 77.11 kB / 0.8691 GB, free: 22.85 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.5375, allocations: 3.906 kB / 0.8691 GB, free: 22.85 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5377, allocations: 35.94 kB / 0.8691 GB, free: 22.81 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.5378, allocations: 3.984 kB / 0.8691 GB, free: 22.81 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.5378, allocations: 0 / 0.8691 GB, free: 22.81 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.854e-05/0.5378, allocations: 83.28 kB / 0.8692 GB, free: 22.73 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002337/0.538, allocations: 16 kB / 0.8692 GB, free: 22.71 MB / 0.5575 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.0001564/0.5382, allocations: 107.2 kB / 0.8693 GB, free: 22.59 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.5383, allocations: 39.92 kB / 0.8694 GB, free: 22.55 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5383, allocations: 0 / 0.8694 GB, free: 22.55 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.5384, allocations: 16 kB / 0.8694 GB, free: 22.54 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.5386, allocations: 0 / 0.8694 GB, free: 22.54 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.539, allocations: 108 kB / 0.8695 GB, free: 22.41 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.5391, allocations: 0.6997 MB / 0.8702 GB, free: 21.68 MB / 0.5575 GB Notification: Performance of SimCode: time 2.3e-07/0.5391, allocations: 0 / 0.8702 GB, free: 21.68 MB / 0.5575 GB Notification: Performance of Templates: time 0.00267/0.5418, allocations: 0.9475 MB / 0.8711 GB, free: 20.75 MB / 0.5575 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)