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.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 196.4 kB / 16.53 MB, free: 6.699 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.276/1.276, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.621/1.621, allocations: 292.3 MB / 0.5488 GB, free: 12.86 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.001439/0.001439, allocations: 67.3 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.213, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00251/0.2155, allocations: 1.476 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.2158, allocations: 112.5 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.2159, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.2159, allocations: 15.92 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.216, allocations: 3.938 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2162, allocations: 23.91 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.2163, allocations: 39.92 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.2164, allocations: 8 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.2165, allocations: 19.92 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.2165, allocations: 27.89 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.2165, allocations: 4 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.2166, allocations: 31.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.2167, allocations: 15.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.2167, allocations: 19.81 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2168, allocations: 51.86 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2168, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2168, allocations: 3.938 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2169, allocations: 3.984 kB / 0.7852 GB, free: 11.62 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.0005444/0.2174, allocations: 383.5 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2174, allocations: 8.031 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.2175, allocations: 8.844 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2176, allocations: 172.3 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.2176, allocations: 4.375 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2176, allocations: 384 / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2179, allocations: 70.22 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2179, allocations: 192 / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2179, allocations: 7.938 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.218, allocations: 8 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.2183, allocations: 75.84 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.2186, allocations: 288.8 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.2188, allocations: 70.47 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.219, allocations: 48.91 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.2192, allocations: 105.1 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2193, allocations: 38.5 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2193, allocations: 4 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005663/0.2199, allocations: 141.6 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2199, allocations: 51.41 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.22, allocations: 129.8 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.22, allocations: 25.7 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2201, allocations: 96.05 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.2201, allocations: 7.891 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2201, allocations: 17.72 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.2202, allocations: 310.8 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2204, allocations: 35.95 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2205, allocations: 47.89 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.2208, allocations: 76.78 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2208, allocations: 7.938 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003333/0.2212, allocations: 109.8 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2212, allocations: 6.656 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2212, allocations: 48 / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2212, allocations: 3.984 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2214, allocations: 23.91 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2214, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.2215, allocations: 15.98 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.2215, allocations: 0 / 0.7875 GB, free: 9.031 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.031e-05/0.2216, allocations: 125.7 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.2216, allocations: 7.906 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.222, allocations: 121.5 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.222, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.222, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.222, allocations: 4 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.2222, allocations: 181.6 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2222, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/0.2223, allocations: 11.98 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2223, allocations: 0 / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2223, allocations: 4 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2223, allocations: 7.969 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2223, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.2227, allocations: 207.4 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.2227, allocations: 89 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2227, allocations: 0 / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2228, allocations: 7.984 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.2229, allocations: 8 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2229, allocations: 0 / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.223, allocations: 104.1 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.223, allocations: 0 / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002275/0.2232, allocations: 16 kB / 0.7883 GB, free: 8.047 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.0001283/0.2233, allocations: 107.2 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.2237, allocations: 75.86 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2237, allocations: 4 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.2239, allocations: 43.95 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2241, allocations: 11.94 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.2244, allocations: 161.4 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2246, allocations: 0.6807 MB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.2247, allocations: 4 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.2247, allocations: 11.44 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2247, allocations: 3.938 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.002966/0.2277, allocations: 0.803 MB / 0.7902 GB, free: 6.098 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)