Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.001722/0.001722, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001093/0.001094, allocations: 194.2 kB / 16.14 MB, free: 6.715 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.18/1.18, allocations: 205.1 MB / 222 MB, free: 4.781 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.496/1.496, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001503/0.001503, allocations: 71.83 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2001, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001715/0.2018, allocations: 0.6627 MB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.2021, allocations: 95.72 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.017e-05/0.2022, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.2022, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.2022, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.2024, allocations: 11.98 kB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.562e-05/0.2024, allocations: 4 kB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.2025, allocations: 4 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.2025, allocations: 7.938 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.2026, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2026, allocations: 3.938 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.2026, allocations: 15.98 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.2027, allocations: 3.984 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.2027, allocations: 11.98 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.029e-05/0.2028, allocations: 15.92 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2028, allocations: 3.938 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2028, allocations: 0 / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.2028, allocations: 4 kB / 0.7836 GB, free: 13.06 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.0002848/0.2031, allocations: 319.6 kB / 0.7839 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2031, allocations: 8.031 kB / 0.7839 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.2031, allocations: 30.75 kB / 0.784 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.2033, allocations: 12.92 kB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.824e-05/0.2034, allocations: 160.4 kB / 0.7841 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2034, allocations: 384 / 0.7841 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.2034, allocations: 384 / 0.7841 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2035, allocations: 46.25 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2035, allocations: 7.938 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.2036, allocations: 0 / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2036, allocations: 0 / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.2036, allocations: 19.92 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.2038, allocations: 149.9 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.2039, allocations: 50.59 kB / 0.7844 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.204, allocations: 8.922 kB / 0.7844 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.204, allocations: 0 / 0.7844 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.204, allocations: 30.56 kB / 0.7844 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.204, allocations: 4 kB / 0.7844 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001956/0.2042, allocations: 65.64 kB / 0.7845 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2043, allocations: 55.41 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.682e-05/0.2043, allocations: 93.86 kB / 0.7846 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2043, allocations: 25.7 kB / 0.7847 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.2044, allocations: 84.08 kB / 0.7847 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.2044, allocations: 7.891 kB / 0.7848 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.2044, allocations: 17.72 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.2045, allocations: 310.8 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.2045, allocations: 4 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.534e-05/0.2046, allocations: 19.97 kB / 0.7851 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.2047, allocations: 24.78 kB / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2047, allocations: 0 / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/0.2048, allocations: 49.69 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2048, allocations: 4 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2048, allocations: 3.938 kB / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.2048, allocations: 0 / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.2052, allocations: 47.92 kB / 0.7852 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.2063, allocations: 1.306 MB / 0.7865 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.2064, allocations: 0 / 0.7865 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.2064, allocations: 0 / 0.7865 GB, free: 9.754 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 (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 6.235e-05/0.2065, allocations: 117.9 kB / 0.7866 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.2065, allocations: 3.938 kB / 0.7866 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.2065, allocations: 11.48 kB / 0.7866 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2065, allocations: 0 / 0.7866 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2065, allocations: 4 kB / 0.7866 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2065, allocations: 0 / 0.7866 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.404e-05/0.2066, allocations: 157.6 kB / 0.7868 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2066, allocations: 3.984 kB / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.207, allocations: 47.94 kB / 0.7868 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.207, allocations: 0 / 0.7868 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.207, allocations: 0 / 0.7868 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009746/0.208, allocations: 1.314 MB / 0.7881 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.208, allocations: 4.156 kB / 0.7881 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.2081, allocations: 81.03 kB / 0.7882 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.2081, allocations: 77.11 kB / 0.7883 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.2081, allocations: 3.984 kB / 0.7883 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.679e-05/0.2082, allocations: 0 / 0.7883 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.2082, allocations: 4 kB / 0.7883 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2082, allocations: 0 / 0.7883 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.534e-05/0.2082, allocations: 79.28 kB / 0.7883 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2082, allocations: 3.938 kB / 0.7883 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001875/0.2084, allocations: 7.938 kB / 0.7884 GB, free: 7.617 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 (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.0003376/0.2088, allocations: 0.6047 MB / 0.7889 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.2092, allocations: 67.84 kB / 0.789 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2092, allocations: 0 / 0.789 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.2095, allocations: 39.95 kB / 0.789 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.2096, allocations: 4 kB / 0.7891 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.21, allocations: 132.5 kB / 0.7892 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.2102, allocations: 0.6731 MB / 0.7898 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.2102, allocations: 7.984 kB / 0.7898 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.2102, allocations: 11.44 kB / 0.7899 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2102, allocations: 0 / 0.7899 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.232, allocations: 1.133 MB / 0.791 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.2323, allocations: 241.4 kB / 0.7912 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.737, allocations: 0 / 0.7912 GB, free: 4.738 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)