Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.00176/0.00176, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.539/1.539, allocations: 205.1 MB / 222.8 MB, free: 4.648 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.681/1.681, 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.001381/0.001381, allocations: 68.3 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2183, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002484/0.2208, allocations: 1.495 MB / 0.785 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.2211, allocations: 92.59 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.2211, allocations: 0 / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.2212, allocations: 0 / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.311e-05/0.2212, allocations: 3.938 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.2214, allocations: 15.97 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.2215, allocations: 31.86 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.2216, allocations: 4 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.2216, allocations: 8 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.2216, allocations: 19.92 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2217, allocations: 0 / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.2217, allocations: 19.92 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2217, allocations: 4 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2218, allocations: 15.92 kB / 0.7852 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.71e-05/0.2219, allocations: 23.95 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2219, allocations: 0 / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2219, allocations: 0 / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2219, allocations: 0 / 0.7852 GB, free: 12.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004248/0.2223, allocations: 351.6 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2223, allocations: 8.031 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.2225, allocations: 12.92 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2226, allocations: 168.3 kB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2227, allocations: 4.375 kB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.2227, allocations: 4.312 kB / 0.7857 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2229, allocations: 58.22 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2229, allocations: 192 / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2229, allocations: 7.938 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2229, allocations: 0 / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.2231, allocations: 47.95 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.2235, allocations: 257 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.2236, allocations: 62.42 kB / 0.7861 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2237, allocations: 32.89 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.2238, allocations: 0 / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2238, allocations: 30.56 kB / 0.7862 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2238, allocations: 0 / 0.7862 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003818/0.2242, allocations: 105.6 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2242, allocations: 51.41 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.2243, allocations: 109.8 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2243, allocations: 25.7 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2244, allocations: 84.05 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.2245, allocations: 11.94 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.2245, allocations: 17.83 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2247, allocations: 310.8 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.2248, allocations: 23.98 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.2249, allocations: 23.97 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2251, allocations: 56.88 kB / 0.787 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2251, allocations: 0 / 0.787 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002146/0.2253, allocations: 85.48 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2253, allocations: 8 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2253, allocations: 0 / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2253, allocations: 3.938 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2255, allocations: 11.98 kB / 0.7871 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2255, allocations: 4.031 kB / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.2255, allocations: 11.92 kB / 0.7871 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2256, allocations: 7.922 kB / 0.7871 GB, free: 9.965 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 (2): * Single equations (assignments): 2 * 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.133e-05/0.2256, allocations: 113.8 kB / 0.7872 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.2257, allocations: 256 / 0.7872 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.2257, allocations: 7.531 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2257, allocations: 0 / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2257, allocations: 8 kB / 0.7872 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2257, allocations: 0 / 0.7872 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.2259, allocations: 165.6 kB / 0.7874 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2259, allocations: 3.984 kB / 0.7874 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.226, allocations: 8 kB / 0.7874 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.226, allocations: 3.984 kB / 0.7874 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.226, allocations: 4 kB / 0.7874 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.226, allocations: 0 / 0.7874 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.226, allocations: 0 / 0.7874 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.2263, allocations: 187.3 kB / 0.7876 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.2263, allocations: 81.09 kB / 0.7877 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2263, allocations: 0 / 0.7877 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.2264, allocations: 4 kB / 0.7877 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2264, allocations: 7.984 kB / 0.7877 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2265, allocations: 0 / 0.7877 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.2265, allocations: 83.28 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2265, allocations: 4.031 kB / 0.7878 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002198/0.2267, allocations: 4 kB / 0.7878 GB, free: 9.195 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 (2): * Single equations (assignments): 2 * 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 9.757e-05/0.2268, allocations: 95.25 kB / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.2271, allocations: 55.94 kB / 0.7879 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2271, allocations: 0 / 0.7879 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.2272, allocations: 35.97 kB / 0.7879 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.2275, allocations: 3.938 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.2278, allocations: 155.2 kB / 0.7881 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2281, allocations: 0.6807 MB / 0.7888 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.2282, allocations: 11.5 kB / 0.7888 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2282, allocations: 0 / 0.7888 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of Templates: time 0.00176/0.2299, allocations: 0.6407 MB / 0.7894 GB, free: 7.457 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)