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.001076/0.001076, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001285/0.001285, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.852/1.852, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005569/0.000557, allocations: 15.41 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00162/0.2782, allocations: 1.16 MB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000256/0.2785, allocations: 88.69 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.2785, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.2786, allocations: 3.938 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.2786, allocations: 3.984 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.2788, allocations: 8 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.2789, allocations: 19.92 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.279, allocations: 11.94 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.279, allocations: 11.98 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.2791, allocations: 15.92 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2791, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.2791, allocations: 11.98 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.2792, allocations: 7.984 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2792, allocations: 25.7 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.2793, allocations: 19.97 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2793, allocations: 0 / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2793, allocations: 0 / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2793, allocations: 0 / 0.7886 GB, free: 10.52 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.0004497/0.2798, allocations: 347.5 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2798, allocations: 12.03 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.28, allocations: 15.92 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2801, allocations: 175 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2802, allocations: 0 / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.2802, allocations: 4 kB / 0.7892 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.2804, allocations: 65.67 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.2804, allocations: 3.938 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2804, allocations: 3.984 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2804, allocations: 0 / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.2806, allocations: 67.94 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.281, allocations: 264.8 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2812, allocations: 66.47 kB / 0.7896 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2813, allocations: 32.91 kB / 0.7896 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2814, allocations: 8 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2814, allocations: 34.56 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.2814, allocations: 0 / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004966/0.2819, allocations: 121.6 kB / 0.7898 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2819, allocations: 59.33 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.282, allocations: 101.9 kB / 0.79 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2821, allocations: 29.7 kB / 0.79 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.2821, allocations: 84.12 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2821, allocations: 11.97 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.2821, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2823, allocations: 322.8 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2824, allocations: 31.97 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.2825, allocations: 31.98 kB / 0.7904 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.2826, allocations: 27.97 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2826, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002217/0.2828, allocations: 93.72 kB / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2829, allocations: 4 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2829, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2829, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.283, allocations: 23.95 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.283, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.2831, allocations: 11.98 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2831, allocations: 0 / 0.7906 GB, free: 8.289 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/0.2832, allocations: 121.8 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.2832, allocations: 3.906 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.2833, allocations: 3.531 kB / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2833, allocations: 4 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2833, allocations: 4 kB / 0.7907 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2833, allocations: 0 / 0.7907 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.2835, allocations: 169.5 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2835, allocations: 4.188 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.2836, allocations: 19.98 kB / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2836, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.2836, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2836, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2836, allocations: 8 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2839, allocations: 195.4 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.2839, allocations: 77.11 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2839, allocations: 0 / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2841, allocations: 15.98 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.2841, allocations: 4 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2841, allocations: 0 / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.2842, allocations: 83.27 kB / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2842, allocations: 4.031 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000324/0.2845, allocations: 8 kB / 0.7913 GB, free: 7.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.2847, allocations: 95.25 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.285, allocations: 63.95 kB / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.285, allocations: 0 / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2851, allocations: 39.91 kB / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2854, allocations: 7.953 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.2858, allocations: 136.7 kB / 0.7916 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.286, allocations: 0.677 MB / 0.7923 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.2861, allocations: 4 kB / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.2861, allocations: 11.44 kB / 0.7923 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of SimCode: time 1.553e-06/0.2861, allocations: 0 / 0.7923 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.002294/0.2884, allocations: 0.4922 MB / 0.7928 GB, free: 5.906 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: