Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7575/0.7575, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001157/0.001158, allocations: 181.5 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.313/1.313, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008691/0.0008692, allocations: 98.53 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 283.4 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.604e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5078, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.6192, allocations: 108.6 MB / 0.8703 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.6195, allocations: 72.44 kB / 0.8704 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00313/0.6226, allocations: 1.084 MB / 0.8714 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6227, allocations: 0 / 0.8714 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.6227, allocations: 0 / 0.8714 GB, free: 14.84 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.0004619/0.6231, allocations: 371.6 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6232, allocations: 11.97 kB / 0.8718 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.6232, allocations: 7.906 kB / 0.8718 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.6234, allocations: 174.9 kB / 0.872 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.6234, allocations: 11.95 kB / 0.872 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.6235, allocations: 3.984 kB / 0.872 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.6236, allocations: 53.67 kB / 0.872 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.6236, allocations: 0 / 0.872 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6236, allocations: 0 / 0.872 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.6236, allocations: 4 kB / 0.872 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.6237, allocations: 35.98 kB / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.6243, allocations: 320.8 kB / 0.8724 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.6244, allocations: 50.5 kB / 0.8724 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.6244, allocations: 24.94 kB / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.6246, allocations: 105.1 kB / 0.8726 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.6247, allocations: 34.55 kB / 0.8726 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.6247, allocations: 0 / 0.8726 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001755/0.6249, allocations: 61.59 kB / 0.8727 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.6249, allocations: 63.34 kB / 0.8727 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.625, allocations: 115 kB / 0.8728 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.625, allocations: 25.7 kB / 0.8728 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.6251, allocations: 96.12 kB / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.6251, allocations: 7.812 kB / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.6251, allocations: 0 / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6252, allocations: 322.8 kB / 0.8733 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.6252, allocations: 15.98 kB / 0.8733 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.6253, allocations: 12 kB / 0.8733 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.6253, allocations: 23.98 kB / 0.8733 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6253, allocations: 0 / 0.8733 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001048/0.6254, allocations: 69.61 kB / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6255, allocations: 8 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6255, allocations: 0 / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6255, allocations: 0 / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.6256, allocations: 23.92 kB / 0.8734 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6257, allocations: 3.125 kB / 0.8734 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.6258, allocations: 23.97 kB / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.6258, allocations: 0 / 0.8734 GB, free: 12.57 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.223e-05/0.6258, allocations: 112.9 kB / 0.8735 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.6259, allocations: 3.906 kB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.626, allocations: 81.69 kB / 0.8736 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6261, allocations: 0 / 0.8736 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6261, allocations: 4 kB / 0.8736 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6261, allocations: 240 / 0.8736 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.6263, allocations: 185.5 kB / 0.8738 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6263, allocations: 4 kB / 0.8738 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.6264, allocations: 19.98 kB / 0.8738 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6264, allocations: 7.922 kB / 0.8738 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.6264, allocations: 4 kB / 0.8738 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6264, allocations: 0 / 0.8738 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6264, allocations: 7.984 kB / 0.8738 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.6266, allocations: 159.5 kB / 0.874 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.6266, allocations: 88.95 kB / 0.8741 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.6266, allocations: 4 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.6268, allocations: 15.98 kB / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.6268, allocations: 8 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.6268, allocations: 7.984 kB / 0.8741 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.6269, allocations: 93.66 kB / 0.8742 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6269, allocations: 0 / 0.8742 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002011/0.6271, allocations: 11.94 kB / 0.8742 GB, free: 11.67 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.0001433/0.6273, allocations: 103.2 kB / 0.8743 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.6274, allocations: 35.94 kB / 0.8743 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.6274, allocations: 0 / 0.8743 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.6274, allocations: 23.98 kB / 0.8744 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.6276, allocations: 5.203 kB / 0.8744 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.6278, allocations: 104.7 kB / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.6281, allocations: 0.6926 MB / 0.8751 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.6281, allocations: 0 / 0.8751 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.6281, allocations: 11.44 kB / 0.8752 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.6281, allocations: 0 / 0.8752 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of Templates: time 0.002491/0.6306, allocations: 0.6444 MB / 0.8758 GB, free: 10.01 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)