Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009851/0.000985, allocations: 162.8 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007026/0.0007025, allocations: 89.73 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003448, allocations: 10.94 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2291, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007533/0.2299, allocations: 343 kB / 0.8965 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.2302, allocations: 99.7 kB / 0.8966 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.189e-05/0.2302, allocations: 0 / 0.8966 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.2303, allocations: 4 kB / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.2303, allocations: 0 / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.2305, allocations: 4 kB / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.2305, allocations: 19.86 kB / 0.8967 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.2306, allocations: 4 kB / 0.8967 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.2306, allocations: 0 / 0.8967 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.47e-05/0.2307, allocations: 4 kB / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2307, allocations: 0 / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.2308, allocations: 15.98 kB / 0.8967 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2308, allocations: 3.984 kB / 0.8967 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.2308, allocations: 7.938 kB / 0.8967 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.971e-05/0.2309, allocations: 16.27 kB / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2309, allocations: 4 kB / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2309, allocations: 0 / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.231, allocations: 0 / 0.8967 GB, free: 67.55 MB / 0.6042 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.0002846/0.2312, allocations: 315.5 kB / 0.897 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2313, allocations: 8.031 kB / 0.897 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.2313, allocations: 30.75 kB / 0.897 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.2315, allocations: 20.92 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.664e-05/0.2315, allocations: 168.3 kB / 0.8972 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2316, allocations: 4.375 kB / 0.8972 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.2316, allocations: 384 / 0.8972 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.2317, allocations: 34.25 kB / 0.8973 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2317, allocations: 3.938 kB / 0.8973 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2317, allocations: 8 kB / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2318, allocations: 0 / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.2318, allocations: 7.984 kB / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.232, allocations: 157.7 kB / 0.8974 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.2322, allocations: 42.5 kB / 0.8975 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.2322, allocations: 17.72 kB / 0.8975 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2323, allocations: 0 / 0.8975 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2323, allocations: 30.56 kB / 0.8975 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2323, allocations: 7.938 kB / 0.8975 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001995/0.2325, allocations: 61.73 kB / 0.8976 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2325, allocations: 55.34 kB / 0.8976 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.371e-05/0.2326, allocations: 93.86 kB / 0.8977 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2326, allocations: 25.7 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.778e-05/0.2326, allocations: 80.14 kB / 0.8978 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2326, allocations: 7.906 kB / 0.8978 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.2327, allocations: 9.719 kB / 0.8978 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.2327, allocations: 318.8 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.2328, allocations: 7.984 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.2328, allocations: 4 kB / 0.8982 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.2329, allocations: 24.84 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2329, allocations: 0 / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.943e-05/0.233, allocations: 53.56 kB / 0.8982 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.233, allocations: 7.984 kB / 0.8982 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.233, allocations: 7.938 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.233, allocations: 0 / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.2334, allocations: 39.94 kB / 0.8983 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/0.2343, allocations: 1.31 MB / 0.8996 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.2343, allocations: 0 / 0.8996 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2343, allocations: 7.922 kB / 0.8996 GB, free: 64.24 MB / 0.6042 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.2344, allocations: 117.8 kB / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.2344, allocations: 0 / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121e-05/0.2344, allocations: 3.5 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2344, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-07/0.2344, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2344, allocations: 8.062 kB / 0.8997 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.796e-05/0.2345, allocations: 161.5 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2345, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.2348, allocations: 47.92 kB / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2348, allocations: 0 / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2348, allocations: 4 kB / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007211/0.2356, allocations: 1.31 MB / 0.9012 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2356, allocations: 0 / 0.9012 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2357, allocations: 84.98 kB / 0.9013 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.2357, allocations: 85.05 kB / 0.9013 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-06/0.2357, allocations: 8.031 kB / 0.9014 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.2358, allocations: 0 / 0.9014 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.2358, allocations: 0 / 0.9014 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2358, allocations: 4 kB / 0.9014 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.803e-05/0.2358, allocations: 75.28 kB / 0.9014 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.21e-07/0.2358, allocations: 0 / 0.9014 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000185/0.236, allocations: 15.88 kB / 0.9014 GB, free: 62.1 MB / 0.6042 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003304/0.2364, allocations: 0.6047 MB / 0.902 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.2367, allocations: 63.91 kB / 0.9021 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2368, allocations: 0 / 0.9021 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.237, allocations: 43.89 kB / 0.9021 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.2371, allocations: 0 / 0.9021 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.2375, allocations: 124.6 kB / 0.9023 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2376, allocations: 0.6848 MB / 0.9029 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.2377, allocations: 0 / 0.9029 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.2377, allocations: 11.44 kB / 0.9029 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2377, allocations: 0 / 0.9029 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.2483, allocations: 1.069 MB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.2485, allocations: 261.4 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.755, allocations: 0 / 0.9042 GB, free: 59.34 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)