Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.671/2.671, allocations: 287.5 MB / 302.4 MB, free: 8.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 182.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009464/0.000946, allocations: 88.83 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 12.86 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002575/0.2818, allocations: 1.148 MB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.2822, allocations: 88.69 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.2823, allocations: 0 / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.2824, allocations: 3.938 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.2824, allocations: 7.984 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.2827, allocations: 4 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.2828, allocations: 23.92 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2829, allocations: 8 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.283, allocations: 11.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.2831, allocations: 19.91 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2831, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.2832, allocations: 11.98 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.2832, allocations: 4 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.2832, allocations: 29.7 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2834, allocations: 15.97 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.2834, allocations: 3.938 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2834, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2834, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 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.0005947/0.2841, allocations: 351.5 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.2841, allocations: 12.02 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.2842, allocations: 30.56 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.2845, allocations: 15.98 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2847, allocations: 178.9 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.2847, allocations: 8 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2848, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.2852, allocations: 61.61 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2852, allocations: 4 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2852, allocations: 0 / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2852, allocations: 3.984 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.2858, allocations: 63.95 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.2864, allocations: 264.9 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.2869, allocations: 66.48 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.2872, allocations: 36.91 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2873, allocations: 0 / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2873, allocations: 34.55 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.456e-06/0.2873, allocations: 4 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.001014/0.2883, allocations: 121.6 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2884, allocations: 55.34 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2885, allocations: 105.8 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2886, allocations: 29.83 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.2886, allocations: 92.11 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.2887, allocations: 11.84 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-06/0.2887, allocations: 0 / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.2888, allocations: 310.8 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.2891, allocations: 31.97 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.2894, allocations: 31.98 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.2897, allocations: 31.97 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2898, allocations: 4.062 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006341/0.2904, allocations: 85.66 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.2905, allocations: 7.984 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2905, allocations: 7.938 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.2905, allocations: 4.031 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.2908, allocations: 19.92 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2908, allocations: 4 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.291, allocations: 8 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.291, allocations: 3.953 kB / 0.9818 GB, free: 24.58 MB / 0.6198 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 9.998e-05/0.2912, allocations: 115.1 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.2912, allocations: 7.906 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.2913, allocations: 7.531 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2913, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2913, allocations: 256 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2913, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.2918, allocations: 173.6 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2918, allocations: 0 / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.292, allocations: 15.98 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2921, allocations: 4 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2921, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2921, allocations: 3.938 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2921, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.2927, allocations: 199.4 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.453e-05/0.2928, allocations: 81.11 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.2928, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2931, allocations: 11.98 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.2932, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2932, allocations: 8.016 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.2933, allocations: 87.28 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.21e-07/0.2933, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005169/0.2939, allocations: 7.906 kB / 0.9825 GB, free: 23.78 MB / 0.6198 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.0008888/0.2948, allocations: 0.7163 MB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.2954, allocations: 71.92 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2954, allocations: 0 / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.2957, allocations: 36.03 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.2963, allocations: 10.58 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.2971, allocations: 154.3 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.2973, allocations: 0.677 MB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.962e-05/0.2974, allocations: 8.062 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.2975, allocations: 11.42 kB / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.713e-06/0.2975, allocations: 0 / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.3189, allocations: 1.179 MB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.3192, allocations: 189.9 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/2.767, allocations: 1 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)