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.001138/0.001138, 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.001327/0.001327, allocations: 195.9 kB / 16.14 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.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.75 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.646/1.646, allocations: 292.3 MB / 0.5484 GB, free: 13.72 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.001559/0.001559, allocations: 75.41 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2331, allocations: 114.6 MB / 0.7827 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002768/0.2359, allocations: 1.491 MB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000356/0.2363, allocations: 96.59 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.2363, allocations: 4 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.2364, allocations: 0 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.2364, allocations: 3.938 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.2366, allocations: 11.98 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.2367, allocations: 31.86 kB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.2368, allocations: 0 / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.2368, allocations: 11.98 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.2368, allocations: 15.92 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2369, allocations: 4 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.2369, allocations: 15.98 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2369, allocations: 11.98 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.237, allocations: 3.938 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2371, allocations: 31.89 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2371, allocations: 0 / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2371, allocations: 4 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.2371, allocations: 3.938 kB / 0.7844 GB, free: 12.31 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.0005264/0.2376, allocations: 339.7 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2377, allocations: 12.03 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.2379, allocations: 12.92 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.2381, allocations: 168.3 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2381, allocations: 384 / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.2381, allocations: 8.312 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2383, allocations: 62.2 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2383, allocations: 192 / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2384, allocations: 7.938 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2384, allocations: 0 / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.2386, allocations: 51.95 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.239, allocations: 264.9 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.2392, allocations: 58.36 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.2393, allocations: 32.89 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2393, allocations: 4 kB / 0.7853 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.947e-05/0.2394, allocations: 34.56 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2394, allocations: 0 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004033/0.2398, allocations: 97.72 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2399, allocations: 55.41 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.24, allocations: 109.8 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.24, allocations: 25.7 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.2401, allocations: 88.05 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2401, allocations: 3.938 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.2401, allocations: 17.72 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2403, allocations: 314.8 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2404, allocations: 24.02 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.2405, allocations: 27.97 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.2407, allocations: 44.81 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2407, allocations: 0 / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00024/0.241, allocations: 93.55 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.241, allocations: 4 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.241, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.241, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2411, allocations: 15.92 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2412, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.2412, allocations: 12.02 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2412, allocations: 8 kB / 0.7863 GB, free: 10.12 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 6.912e-05/0.2413, allocations: 109.8 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.2413, allocations: 4 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.2414, allocations: 3.531 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2414, allocations: 0 / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2414, allocations: 3.938 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2414, allocations: 0 / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2416, allocations: 169.6 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2417, allocations: 0 / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.2417, allocations: 15.98 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2418, allocations: 0 / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2418, allocations: 0 / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2418, allocations: 3.938 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2418, allocations: 256 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.2421, allocations: 187.3 kB / 0.7867 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.2421, allocations: 81.11 kB / 0.7868 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.2421, allocations: 8 kB / 0.7868 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2423, allocations: 7.984 kB / 0.7868 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.2423, allocations: 3.984 kB / 0.7868 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2423, allocations: 0 / 0.7868 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.2424, allocations: 83.28 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2424, allocations: 0 / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002336/0.2426, allocations: 8 kB / 0.7869 GB, free: 9.352 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 0.0001202/0.2427, allocations: 99.28 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.243, allocations: 51.94 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.243, allocations: 0 / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.2431, allocations: 27.92 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2434, allocations: 19.98 kB / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.2438, allocations: 119.3 kB / 0.7872 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.2442, allocations: 0.677 MB / 0.7879 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.2442, allocations: 4 kB / 0.7879 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.2443, allocations: 11.44 kB / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of SimCode: time 2.114e-06/0.2443, allocations: 0 / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of Templates: time 0.002683/0.247, allocations: 0.5006 MB / 0.7884 GB, free: 7.793 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)