Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7934/0.7934, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001068/0.001069, allocations: 177.9 kB / 187.3 MB, free: 11.88 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.355/1.355, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008345/0.0008341, allocations: 98.83 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 277.7 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.381e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4403, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.5598, allocations: 108.6 MB / 0.8703 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5601, allocations: 72.66 kB / 0.8704 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003211/0.5633, allocations: 1.083 MB / 0.8715 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5633, allocations: 0 / 0.8715 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5634, allocations: 0 / 0.8715 GB, free: 14.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004446/0.5638, allocations: 374.4 kB / 0.8718 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5639, allocations: 8.031 kB / 0.8718 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.5639, allocations: 7.906 kB / 0.8718 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.5641, allocations: 174.9 kB / 0.872 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5641, allocations: 7.953 kB / 0.872 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5641, allocations: 0 / 0.872 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5643, allocations: 57.67 kB / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.5643, allocations: 0 / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5643, allocations: 0 / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5643, allocations: 4 kB / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.5644, allocations: 39.97 kB / 0.8721 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.565, allocations: 316.9 kB / 0.8724 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.5651, allocations: 54.5 kB / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.5651, allocations: 24.94 kB / 0.8725 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.5653, allocations: 105.1 kB / 0.8726 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5654, allocations: 30.56 kB / 0.8726 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.5654, allocations: 0 / 0.8726 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001936/0.5656, allocations: 69.59 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.5656, allocations: 59.34 kB / 0.8727 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.5657, allocations: 113 kB / 0.8728 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.5657, allocations: 29.7 kB / 0.8729 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.5658, allocations: 88.12 kB / 0.8729 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5658, allocations: 11.84 kB / 0.873 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.5658, allocations: 4 kB / 0.873 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.566, allocations: 318.8 kB / 0.8733 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.566, allocations: 12 kB / 0.8733 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.5661, allocations: 31.92 kB / 0.8733 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.5661, allocations: 12 kB / 0.8733 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5661, allocations: 0 / 0.8733 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000111/0.5662, allocations: 69.58 kB / 0.8734 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5662, allocations: 4 kB / 0.8734 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5663, allocations: 0 / 0.8734 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5663, allocations: 0 / 0.8734 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.5664, allocations: 23.92 kB / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5664, allocations: 4 kB / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.5665, allocations: 23.97 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.5666, allocations: 4 kB / 0.8734 GB, free: 12.54 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 (3): * Single equations (assignments): 3 * 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 6.821e-05/0.5666, allocations: 104.9 kB / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.5667, allocations: 7.906 kB / 0.8736 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.5668, allocations: 80.97 kB / 0.8736 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5669, allocations: 4 kB / 0.8736 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5669, allocations: 0 / 0.8736 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5669, allocations: 4 kB / 0.8736 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.5671, allocations: 181.6 kB / 0.8738 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5671, allocations: 0 / 0.8738 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.5672, allocations: 19.98 kB / 0.8738 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5672, allocations: 0 / 0.8738 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.5672, allocations: 7.922 kB / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5672, allocations: 0 / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5672, allocations: 4 kB / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.5674, allocations: 167.7 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.5675, allocations: 92.91 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.5675, allocations: 0 / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5676, allocations: 19.98 kB / 0.8741 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.5677, allocations: 15.98 kB / 0.8741 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.5677, allocations: 0 / 0.8741 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.5677, allocations: 93.66 kB / 0.8742 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5677, allocations: 4 kB / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002008/0.5679, allocations: 12 kB / 0.8742 GB, free: 11.64 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 (3): * Single equations (assignments): 3 * 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.0001543/0.5681, allocations: 107.2 kB / 0.8743 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.5682, allocations: 31.94 kB / 0.8744 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5683, allocations: 0 / 0.8744 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.5683, allocations: 27.92 kB / 0.8744 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.5685, allocations: 11.94 kB / 0.8744 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.5687, allocations: 100.8 kB / 0.8745 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.569, allocations: 0.6887 MB / 0.8752 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.569, allocations: 0 / 0.8752 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.5691, allocations: 7.438 kB / 0.8752 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.5691, allocations: 4 kB / 0.8752 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.002673/0.5717, allocations: 0.6494 MB / 0.8758 GB, free: 9.969 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)