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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008605/0.008606, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.67/1.67, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.66/1.66, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005404/0.0005404, allocations: 14.41 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2348, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001514/0.2364, allocations: 1.172 MB / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.2367, allocations: 92.59 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.2367, allocations: 4 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.2367, allocations: 0 / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.2368, allocations: 3.938 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.237, allocations: 15.97 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.772e-05/0.237, allocations: 31.81 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.2371, allocations: 3.984 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.2372, allocations: 4 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.2372, allocations: 15.92 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2372, allocations: 0 / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.339e-05/0.2373, allocations: 15.98 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.2373, allocations: 8 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2373, allocations: 33.64 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.2374, allocations: 31.88 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2375, allocations: 0 / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2375, allocations: 0 / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2375, allocations: 0 / 0.7894 GB, free: 10.01 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.0004144/0.2379, allocations: 347.7 kB / 0.7897 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2379, allocations: 12.03 kB / 0.7897 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.238, allocations: 34.75 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2381, allocations: 20.91 kB / 0.7898 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2383, allocations: 172.2 kB / 0.7899 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2383, allocations: 4.375 kB / 0.7899 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2383, allocations: 384 / 0.7899 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.2385, allocations: 66.22 kB / 0.79 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2385, allocations: 7.922 kB / 0.79 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2385, allocations: 4 kB / 0.79 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2385, allocations: 0 / 0.79 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.2388, allocations: 67.89 kB / 0.7901 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.2392, allocations: 261 kB / 0.7903 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.2394, allocations: 70.42 kB / 0.7904 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2395, allocations: 32.91 kB / 0.7904 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2395, allocations: 3.984 kB / 0.7904 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2395, allocations: 38.56 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2396, allocations: 0 / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004307/0.24, allocations: 121.7 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.24, allocations: 55.34 kB / 0.7906 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/0.2401, allocations: 101.9 kB / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2401, allocations: 29.69 kB / 0.7908 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.2402, allocations: 88.14 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.2402, allocations: 7.844 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.2402, allocations: 9.719 kB / 0.7909 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.2403, allocations: 314.9 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2404, allocations: 31.97 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2406, allocations: 35.97 kB / 0.7912 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.2408, allocations: 64.81 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2408, allocations: 3.938 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002552/0.2411, allocations: 105.5 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2411, allocations: 8 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2411, allocations: 0 / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2411, allocations: 4.031 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2412, allocations: 15.98 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.2413, allocations: 0 / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.2413, allocations: 11.98 kB / 0.7914 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.2413, allocations: 0 / 0.7914 GB, free: 7.668 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.89e-05/0.2414, allocations: 109.8 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2414, allocations: 8 kB / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.2415, allocations: 11.52 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2415, allocations: 0 / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.2415, allocations: 0 / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2415, allocations: 0 / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.2417, allocations: 165.6 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2417, allocations: 0 / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.2418, allocations: 15.98 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2418, allocations: 3.938 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2418, allocations: 4 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2418, allocations: 0 / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2418, allocations: 0 / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.2421, allocations: 203.6 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.2422, allocations: 81.02 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2422, allocations: 4 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.2423, allocations: 11.98 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.2423, allocations: 0 / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2423, allocations: 4 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.2424, allocations: 91.3 kB / 0.7921 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2424, allocations: 0 / 0.7921 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002066/0.2426, allocations: 4 kB / 0.7921 GB, free: 6.867 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.0005405/0.2431, allocations: 0.7241 MB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.2434, allocations: 67.92 kB / 0.7929 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2434, allocations: 0 / 0.7929 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2435, allocations: 31.97 kB / 0.7929 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.2438, allocations: 8.125 kB / 0.7929 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.2443, allocations: 158.3 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.2445, allocations: 0.677 MB / 0.7937 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.2445, allocations: 7.906 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.2446, allocations: 19.38 kB / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2446, allocations: 0 / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009742/0.2543, allocations: 1.198 MB / 0.7949 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.2545, allocations: 193 kB / 0.7951 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.844, allocations: 0 / 0.7951 GB, free: 3.766 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)