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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 189.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 287 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 103.9 kB / 0.6059 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1599, allocations: 89.15 MB / 0.693 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.00267/0.1626, allocations: 1.562 MB / 0.6945 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000277/0.1629, allocations: 96.58 kB / 0.6946 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1629, allocations: 7.094 kB / 0.6946 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.163, allocations: 0 / 0.6946 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.1631, allocations: 7.922 kB / 0.6946 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1632, allocations: 19.97 kB / 0.6946 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.1633, allocations: 47.8 kB / 0.6947 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.1634, allocations: 8.781 kB / 0.6947 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.1635, allocations: 15.98 kB / 0.6947 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.1635, allocations: 29.56 kB / 0.6947 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1635, allocations: 4 kB / 0.6947 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.1636, allocations: 15.98 kB / 0.6947 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.1637, allocations: 11.98 kB / 0.6948 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1637, allocations: 27.86 kB / 0.6948 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1638, allocations: 55.81 kB / 0.6948 GB, free: 2.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1638, allocations: 0 / 0.6948 GB, free: 2.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1638, allocations: 0 / 0.6948 GB, free: 2.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1639, allocations: 0 / 0.6948 GB, free: 2.852 MB / 494.1 MB 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.0005319/0.1644, allocations: 379.5 kB / 0.6952 GB, free: 2.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1644, allocations: 8.031 kB / 0.6952 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1645, allocations: 8.844 kB / 0.6952 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1646, allocations: 176.2 kB / 0.6954 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1646, allocations: 8.359 kB / 0.6954 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1647, allocations: 4.375 kB / 0.6954 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.1649, allocations: 70.22 kB / 0.6955 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1649, allocations: 192 / 0.6955 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1649, allocations: 3.938 kB / 0.6955 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.165, allocations: 0 / 0.6955 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.1654, allocations: 79.92 kB / 0.6955 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.1659, allocations: 288.8 kB / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1662, allocations: 74.41 kB / 0.6959 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1663, allocations: 56.78 kB / 0.6959 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.1666, allocations: 105.1 kB / 0.696 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1666, allocations: 30.56 kB / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1666, allocations: 0 / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005633/0.1672, allocations: 153.5 kB / 0.6962 GB, free: 1.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.1672, allocations: 55.41 kB / 0.6963 GB, free: 1.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1674, allocations: 124.5 kB / 0.6964 GB, free: 1.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1674, allocations: 29.69 kB / 0.6964 GB, free: 1.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1675, allocations: 96.05 kB / 0.6965 GB, free: 0.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1676, allocations: 7.906 kB / 0.6965 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.1676, allocations: 13.72 kB / 0.6965 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1678, allocations: 322.8 kB / 0.6968 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1681, allocations: 35.95 kB / 0.6969 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1683, allocations: 35.97 kB / 0.6969 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1686, allocations: 76.78 kB / 0.697 GB, free: 428 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1686, allocations: 3.938 kB / 0.697 GB, free: 424 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003443/0.1689, allocations: 117.5 kB / 0.6971 GB, free: 300 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.169, allocations: 8 kB / 0.6971 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.169, allocations: 4 kB / 0.6971 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.169, allocations: 0 / 0.6971 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1691, allocations: 15.98 kB / 0.6971 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1691, allocations: 0 / 0.6971 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1692, allocations: 11.97 kB / 0.6971 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1693, allocations: 4 kB / 0.6971 GB, free: 256 kB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.1694, allocations: 117.8 kB / 0.6972 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1694, allocations: 4 kB / 0.6973 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.1698, allocations: 121.8 kB / 0.6974 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1698, allocations: 4 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1698, allocations: 0 / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1698, allocations: 8.031 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.1701, allocations: 185.4 kB / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1701, allocations: 0 / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.1702, allocations: 19.98 kB / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1702, allocations: 0 / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1702, allocations: 0 / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1702, allocations: 0 / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1702, allocations: 7.938 kB / 0.6976 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.1707, allocations: 207.4 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1707, allocations: 81.02 kB / 0.6979 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1708, allocations: 4 kB / 0.6979 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1709, allocations: 7.984 kB / 0.6979 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1709, allocations: 11.98 kB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1709, allocations: 3.938 kB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.171, allocations: 99.2 kB / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002322/0.1712, allocations: 23.94 kB / 0.698 GB, free: 15.26 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.1714, allocations: 103.2 kB / 0.6981 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.1718, allocations: 75.92 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1718, allocations: 0 / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.172, allocations: 47.95 kB / 0.6982 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1722, allocations: 7.938 kB / 0.6982 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.1726, allocations: 161.4 kB / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1729, allocations: 0.6924 MB / 0.6991 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.173, allocations: 4 kB / 0.6991 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.173, allocations: 7.438 kB / 0.6991 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.173, allocations: 0 / 0.6991 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.003239/0.1762, allocations: 0.6894 MB / 0.6997 GB, free: 13.42 MB / 0.4981 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)