Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 101.6 kB / 15.99 MB, free: 6.367 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.001305/0.001306, allocations: 195.6 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 62.42 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00269/0.2214, allocations: 1.549 MB / 0.785 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.2217, allocations: 108.6 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.2218, allocations: 0 / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.2218, allocations: 7.875 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.2219, allocations: 7.938 kB / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2221, allocations: 27.95 kB / 0.7852 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.2221, allocations: 35.92 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.2222, allocations: 12 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.2223, allocations: 15.92 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.2223, allocations: 27.91 kB / 0.7853 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2223, allocations: 4 kB / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.2224, allocations: 27.92 kB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.2225, allocations: 11.92 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.2225, allocations: 23.88 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.347e-05/0.2226, allocations: 39.92 kB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2226, allocations: 0 / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.21e-07/0.2226, allocations: 3.938 kB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2226, allocations: 0 / 0.7854 GB, free: 12 MB / 0.6075 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.0004747/0.2231, allocations: 383.5 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2231, allocations: 8.031 kB / 0.7857 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.2232, allocations: 8.844 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2233, allocations: 175.7 kB / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.2233, allocations: 384 / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.2233, allocations: 4.375 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.2235, allocations: 74.2 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2236, allocations: 192 / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2236, allocations: 3.938 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2236, allocations: 0 / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.2239, allocations: 83.86 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.2243, allocations: 284.8 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.2245, allocations: 70.47 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2246, allocations: 48.92 kB / 0.7865 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.2249, allocations: 105.1 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.2249, allocations: 30.56 kB / 0.7866 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2249, allocations: 0 / 0.7866 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005255/0.2254, allocations: 153.5 kB / 0.7867 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.2255, allocations: 51.41 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2256, allocations: 125.8 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2256, allocations: 29.64 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.2257, allocations: 104 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2257, allocations: 7.906 kB / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.2257, allocations: 13.72 kB / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2259, allocations: 318.8 kB / 0.7874 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2261, allocations: 31.97 kB / 0.7874 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2262, allocations: 39.95 kB / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.2265, allocations: 84.72 kB / 0.7875 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2265, allocations: 3.938 kB / 0.7875 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003134/0.2268, allocations: 113.8 kB / 0.7876 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2268, allocations: 4 kB / 0.7876 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2268, allocations: 4 kB / 0.7876 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2268, allocations: 0 / 0.7876 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.227, allocations: 16.03 kB / 0.7876 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.227, allocations: 4 kB / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.2271, allocations: 15.91 kB / 0.7877 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2271, allocations: 4 kB / 0.7877 GB, free: 9.398 MB / 0.6075 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 () * 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 7.517e-05/0.2272, allocations: 121.8 kB / 0.7878 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.2272, allocations: 7.906 kB / 0.7878 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.2276, allocations: 117.5 kB / 0.7879 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.2276, allocations: 4 kB / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2276, allocations: 0 / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2276, allocations: 0 / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2277, allocations: 181.6 kB / 0.7881 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2278, allocations: 0 / 0.7881 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.2279, allocations: 23.97 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2279, allocations: 0 / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2279, allocations: 0 / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2279, allocations: 4 kB / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2279, allocations: 0 / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.2283, allocations: 211.3 kB / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.2283, allocations: 81.02 kB / 0.7884 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2283, allocations: 4 kB / 0.7884 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2284, allocations: 7.984 kB / 0.7884 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.2285, allocations: 11.98 kB / 0.7884 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2285, allocations: 0 / 0.7884 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.2286, allocations: 99.2 kB / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2286, allocations: 0 / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002246/0.2288, allocations: 16 kB / 0.7885 GB, free: 8.418 MB / 0.6075 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.0002089/0.229, allocations: 103.2 kB / 0.7886 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.2293, allocations: 79.91 kB / 0.7887 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2294, allocations: 0 / 0.7887 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.2295, allocations: 43.91 kB / 0.7887 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2297, allocations: 15.92 kB / 0.7887 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.2301, allocations: 192.1 kB / 0.7889 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2303, allocations: 0.6885 MB / 0.7896 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.2304, allocations: 15.44 kB / 0.7896 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2304, allocations: 0 / 0.7896 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of Templates: time 0.002476/0.2329, allocations: 0.8991 MB / 0.7905 GB, free: 6.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)