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.001097/0.001097, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0013/0.0013, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.835/1.835, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005612/0.0005612, allocations: 15.06 kB / 0.6737 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.259, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001684/0.2608, allocations: 1.203 MB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003314/0.2611, allocations: 104.6 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.2612, allocations: 0 / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.2612, allocations: 3.938 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.2613, allocations: 11.94 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2615, allocations: 19.97 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.2616, allocations: 43.84 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.2617, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.2618, allocations: 11.98 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.2618, allocations: 19.92 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2619, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.2619, allocations: 23.92 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.262, allocations: 7.984 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.262, allocations: 33.7 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2621, allocations: 43.92 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2622, allocations: 3.938 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2622, allocations: 0 / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2622, allocations: 0 / 0.7888 GB, free: 10.4 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.0005785/0.2628, allocations: 383.3 kB / 0.7891 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2628, allocations: 12.03 kB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.2628, allocations: 7.906 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.263, allocations: 167 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.263, allocations: 0 / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.263, allocations: 3.984 kB / 0.7893 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2633, allocations: 85.66 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2633, allocations: 0 / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2634, allocations: 4 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2634, allocations: 0 / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.2637, allocations: 103.8 kB / 0.7895 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.2641, allocations: 292.8 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.2643, allocations: 82.52 kB / 0.7899 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2644, allocations: 56.91 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.2647, allocations: 101.1 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2647, allocations: 34.55 kB / 0.79 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2647, allocations: 4 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000527/0.2653, allocations: 181.5 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2653, allocations: 51.41 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2654, allocations: 129.8 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2655, allocations: 29.64 kB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.2655, allocations: 96.05 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.2656, allocations: 3.906 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2656, allocations: 0 / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2657, allocations: 330.8 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2658, allocations: 39.97 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.266, allocations: 51.95 kB / 0.7909 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2661, allocations: 47.95 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2661, allocations: 0 / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003095/0.2664, allocations: 137.5 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2665, allocations: 4 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2665, allocations: 4 kB / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2665, allocations: 0 / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2666, allocations: 23.97 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2666, allocations: 0 / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.2667, allocations: 15.98 kB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.2667, allocations: 8 kB / 0.7911 GB, free: 7.723 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.564e-05/0.2669, allocations: 117.8 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.2669, allocations: 0 / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.2672, allocations: 149.4 kB / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2673, allocations: 0 / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2673, allocations: 0 / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2673, allocations: 0 / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2675, allocations: 193.5 kB / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2675, allocations: 0 / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.2676, allocations: 27.98 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2676, allocations: 3.938 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.2676, allocations: 0 / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2676, allocations: 0 / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2676, allocations: 3.984 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.268, allocations: 227.4 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.268, allocations: 89.36 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.268, allocations: 4 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.2681, allocations: 15.98 kB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2682, allocations: 4 kB / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2682, allocations: 0 / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.2683, allocations: 106.6 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2683, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002249/0.2685, allocations: 8 kB / 0.7921 GB, free: 6.688 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 (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.0001796/0.2687, allocations: 107.2 kB / 0.7922 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.269, allocations: 103.9 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2691, allocations: 0 / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2692, allocations: 59.83 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2695, allocations: 11.95 kB / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.2699, allocations: 152.7 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.2701, allocations: 0.6965 MB / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.2702, allocations: 4 kB / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.2702, allocations: 11.44 kB / 0.7932 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2702, allocations: 0 / 0.7932 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of Templates: time 0.002629/0.2729, allocations: 0.6361 MB / 0.7938 GB, free: 4.859 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: