Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_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.958/2.958, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001336/0.001336, allocations: 174.6 kB / 371 MB, free: 10.87 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.38/2.38, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009025/0.0009023, allocations: 90.42 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004985, allocations: 14.36 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2237, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007678/0.2245, allocations: 331.5 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.2248, allocations: 75.86 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.2248, allocations: 0 / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.2249, allocations: 0 / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.2249, allocations: 0 / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.2251, allocations: 23.91 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.2252, allocations: 8 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.2252, allocations: 3.984 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.2252, allocations: 4 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.2253, allocations: 4 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2254, allocations: 0 / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.2254, allocations: 11.98 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.2254, allocations: 0 / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.2255, allocations: 33.64 kB / 0.9789 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.996e-05/0.2255, allocations: 11.97 kB / 0.9789 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2256, allocations: 0 / 0.9789 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2256, allocations: 8 kB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2256, allocations: 0 / 0.979 GB, free: 27.73 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.0002698/0.2259, allocations: 315.4 kB / 0.9793 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2259, allocations: 12.02 kB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.226, allocations: 34.5 kB / 0.9793 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2261, allocations: 7.984 kB / 0.9793 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.207e-05/0.2262, allocations: 167 kB / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.2263, allocations: 4 kB / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2263, allocations: 4 kB / 0.9795 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.2264, allocations: 37.62 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2264, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2265, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.2265, allocations: 4 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.2266, allocations: 15.92 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2267, allocations: 161.8 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.227, allocations: 54.64 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.2271, allocations: 12.86 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2271, allocations: 0 / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2271, allocations: 30.56 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.2272, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002763/0.2274, allocations: 61.52 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2275, allocations: 55.41 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.234e-05/0.2275, allocations: 89.86 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2275, allocations: 25.7 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.2276, allocations: 80.14 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2276, allocations: 11.91 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2276, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.2277, allocations: 318.8 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.517e-05/0.2277, allocations: 4 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.2278, allocations: 15.98 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.616e-05/0.2279, allocations: 4 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2279, allocations: 0 / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001558/0.2281, allocations: 49.62 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2281, allocations: 11.98 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2281, allocations: 0 / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2281, allocations: 0 / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.2288, allocations: 39.94 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.2301, allocations: 1.306 MB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.2302, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2302, allocations: 8.031 kB / 0.9818 GB, free: 24.47 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.2303, allocations: 123.2 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.2303, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.2304, allocations: 3.5 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2304, allocations: 4 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2304, allocations: 0 / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2304, allocations: 0 / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.113e-05/0.2305, allocations: 162 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2305, allocations: 0 / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.2312, allocations: 43.94 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2312, allocations: 3.984 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2312, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.2324, allocations: 1.313 MB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2325, allocations: 4.156 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2326, allocations: 77.09 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.2327, allocations: 81.11 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.2327, allocations: 0 / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.2327, allocations: 0 / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.2328, allocations: 7.938 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.2328, allocations: 0 / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.716e-05/0.2328, allocations: 79.28 kB / 0.9836 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2328, allocations: 0 / 0.9836 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002622/0.2331, allocations: 8 kB / 0.9836 GB, free: 22.34 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003776/0.2335, allocations: 0.6046 MB / 0.9842 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007208/0.2342, allocations: 63.84 kB / 0.9843 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2342, allocations: 4 kB / 0.9843 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.2347, allocations: 39.95 kB / 0.9843 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.2349, allocations: 4 kB / 0.9843 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.2353, allocations: 120.5 kB / 0.9845 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2355, allocations: 0.677 MB / 0.9851 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.2355, allocations: 4 kB / 0.9851 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.2356, allocations: 11.44 kB / 0.9851 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2356, allocations: 0 / 0.9851 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.255, allocations: 1.079 MB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.2553, allocations: 225.6 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/2.726, allocations: 4 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)