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.001099/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001187/0.001187, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.437/1.437, allocations: 205.1 MB / 222 MB, free: 4.73 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.747/1.747, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.00129/0.00129, allocations: 78.34 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2189, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002606/0.2216, allocations: 1.526 MB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.2219, allocations: 128.4 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.222, allocations: 4 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.222, allocations: 3.938 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.2221, allocations: 7.938 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.2222, allocations: 15.98 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.2223, allocations: 43.84 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.2224, allocations: 11.98 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.2225, allocations: 19.91 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.2225, allocations: 23.91 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2225, allocations: 8 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.627e-05/0.2226, allocations: 23.98 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.2227, allocations: 3.938 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2227, allocations: 23.86 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2228, allocations: 47.86 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2228, allocations: 0 / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2228, allocations: 0 / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2228, allocations: 4 kB / 0.7845 GB, free: 12.1 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.0005275/0.2234, allocations: 387.5 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2234, allocations: 12.03 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.2235, allocations: 8.844 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2236, allocations: 172.3 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2236, allocations: 4.312 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2236, allocations: 384 / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.2239, allocations: 78.22 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2239, allocations: 192 / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2239, allocations: 11.94 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.224, allocations: 0 / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.2242, allocations: 71.92 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.2246, allocations: 288.8 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.2248, allocations: 74.41 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.225, allocations: 44.91 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.2252, allocations: 109.1 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2252, allocations: 34.56 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2252, allocations: 0 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005372/0.2258, allocations: 141.6 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2258, allocations: 55.34 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.2259, allocations: 129.8 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.226, allocations: 25.7 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.226, allocations: 96.05 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.226, allocations: 3.906 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2261, allocations: 25.64 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2262, allocations: 310.8 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2263, allocations: 43.95 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.2265, allocations: 35.97 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.2268, allocations: 80.77 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2268, allocations: 3.938 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003202/0.2271, allocations: 113.5 kB / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2271, allocations: 4 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2271, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2272, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2273, allocations: 19.97 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2273, allocations: 0 / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.2274, allocations: 19.92 kB / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2274, allocations: 4.328 kB / 0.7868 GB, free: 9.492 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 0.0001192/0.2276, allocations: 114.4 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.2276, allocations: 11.91 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.228, allocations: 125.5 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.228, allocations: 0 / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.228, allocations: 4 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.228, allocations: 3.938 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.2282, allocations: 181.6 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2282, allocations: 0 / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.2283, allocations: 15.98 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2283, allocations: 0 / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2283, allocations: 0 / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2284, allocations: 0 / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2284, allocations: 0 / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.2287, allocations: 207.4 kB / 0.7875 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.2288, allocations: 85.02 kB / 0.7875 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.2288, allocations: 7.984 kB / 0.7875 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2289, allocations: 15.98 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.229, allocations: 0 / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.229, allocations: 8 kB / 0.7876 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.137e-05/0.2291, allocations: 102.2 kB / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.553e-06/0.2291, allocations: 0 / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002299/0.2293, allocations: 15.94 kB / 0.7877 GB, free: 8.508 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.000168/0.2295, allocations: 107.2 kB / 0.7878 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.2299, allocations: 75.92 kB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2299, allocations: 0 / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.23, allocations: 43.95 kB / 0.7879 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2303, allocations: 11.88 kB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.2307, allocations: 176.1 kB / 0.7881 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.231, allocations: 0.6848 MB / 0.7887 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2311, allocations: 0 / 0.7887 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.2311, allocations: 11.44 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2311, allocations: 0 / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.002782/0.2339, allocations: 0.6656 MB / 0.7894 GB, free: 6.688 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)