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.001013/0.001013, allocations: 115.2 kB / 16.38 MB, free: 5.992 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.0009655/0.0009655, allocations: 185.6 kB / 17.31 MB, free: 5.609 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.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.673/1.673, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001425/0.001426, allocations: 71.84 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2107, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002522/0.2132, allocations: 1.488 MB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.2136, allocations: 108.5 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.2136, allocations: 4 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.2137, allocations: 3.938 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.2137, allocations: 7.922 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2139, allocations: 23.97 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.214, allocations: 43.84 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.2141, allocations: 4 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.2142, allocations: 27.92 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.2142, allocations: 19.91 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2142, allocations: 4 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.2143, allocations: 19.98 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.2144, allocations: 19.91 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.2144, allocations: 19.88 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.2145, allocations: 55.81 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2146, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2146, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2146, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 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.0005202/0.2151, allocations: 383.2 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.2151, allocations: 12.03 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2152, allocations: 4.844 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2153, allocations: 184.1 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2153, allocations: 4.375 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.2153, allocations: 384 / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.2156, allocations: 74.22 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2156, allocations: 192 / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2156, allocations: 3.938 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2156, allocations: 4 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.216, allocations: 75.91 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.2163, allocations: 288.8 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.2165, allocations: 70.47 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.2167, allocations: 44.91 kB / 0.7877 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.32/0.5367, allocations: 108 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.5367, allocations: 32.36 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.5367, allocations: 2.516 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.5373, allocations: 150.6 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.447e-05/0.5373, allocations: 51.41 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.5374, allocations: 125.7 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.5374, allocations: 26.2 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.5375, allocations: 99.11 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.5375, allocations: 3.75 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.5375, allocations: 18.28 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.5376, allocations: 315.2 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5377, allocations: 39.89 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.5379, allocations: 34.81 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.5381, allocations: 87.48 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5381, allocations: 0 / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002908/0.5384, allocations: 111.5 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5385, allocations: 9.016 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5385, allocations: 0 / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5385, allocations: 2.219 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.5386, allocations: 13.36 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5386, allocations: 0 / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.5387, allocations: 15.33 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.5387, allocations: 2.719 kB / 0.7889 GB, free: 48.04 MB / 0.6544 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 6.264e-05/0.5388, allocations: 121.1 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.5388, allocations: 5.031 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.5391, allocations: 120.4 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5392, allocations: 0.5312 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5392, allocations: 2.688 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.5392, allocations: 84.8 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.5392, allocations: 0.5 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.5393, allocations: 16.5 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.5394, allocations: 4.688 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003542/0.5397, allocations: 201.9 kB / 0.7894 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003387/0.5401, allocations: 281.6 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001451/0.5402, allocations: 41.75 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.5403, allocations: 102.8 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of Backend: time 8.01e-07/0.5403, allocations: 0 / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.5408, allocations: 127.4 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003595/0.5412, allocations: 0.5894 MB / 0.7905 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.00306/0.5442, allocations: 0.9895 MB / 0.7915 GB, free: 46.76 MB / 0.6544 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)