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.001104/0.001104, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 186.5 kB / 16.62 MB, free: 6.582 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.752/1.752, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001645/0.001645, allocations: 79.95 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2329, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001975/0.2349, allocations: 0.582 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.2353, allocations: 99.7 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.2353, allocations: 4 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.2354, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.2354, allocations: 3.938 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.2357, allocations: 15.98 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.2357, allocations: 0 / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.2358, allocations: 4 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.2358, allocations: 7.984 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.2359, allocations: 11.92 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2359, allocations: 0 / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.236, allocations: 15.98 kB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.236, allocations: 4 kB / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.236, allocations: 0 / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.446e-05/0.2361, allocations: 23.86 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2361, allocations: 4 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2361, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2361, allocations: 0 / 0.7844 GB, free: 12.48 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.0003644/0.2365, allocations: 311.6 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2366, allocations: 12.03 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.2366, allocations: 30.75 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.2368, allocations: 12.92 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.206e-05/0.2369, allocations: 172.3 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2369, allocations: 8.375 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2369, allocations: 4.359 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.237, allocations: 34.25 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2371, allocations: 3.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.2371, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2371, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.2372, allocations: 23.92 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2373, allocations: 153.9 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.2375, allocations: 42.59 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.2376, allocations: 12.91 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.2376, allocations: 7.984 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2376, allocations: 34.56 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2376, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002166/0.2378, allocations: 61.47 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2379, allocations: 55.39 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.2379, allocations: 89.86 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2379, allocations: 25.7 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/0.238, allocations: 84.14 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.238, allocations: 7.906 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2381, allocations: 17.72 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2382, allocations: 310.8 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.2382, allocations: 11.98 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.2382, allocations: 4 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.382e-05/0.2383, allocations: 20.84 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2383, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001123/0.2384, allocations: 57.61 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2385, allocations: 11.94 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2385, allocations: 3.938 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2385, allocations: 0 / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.2389, allocations: 39.94 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.2401, allocations: 1.405 MB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.2401, allocations: 4 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2401, allocations: 0 / 0.7874 GB, free: 9.066 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 7.922e-05/0.2402, allocations: 116.8 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.2402, allocations: 8.094 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.2403, allocations: 3.5 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2403, allocations: 3.984 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.2403, allocations: 0 / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2403, allocations: 0 / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.706e-05/0.2404, allocations: 153.6 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2404, allocations: 4 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.2407, allocations: 55.86 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2407, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.2408, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.2418, allocations: 1.404 MB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2419, allocations: 4.062 kB / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.242, allocations: 73.08 kB / 0.7891 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.242, allocations: 85.11 kB / 0.7892 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.242, allocations: 3.938 kB / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.394e-05/0.2421, allocations: 0 / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.2421, allocations: 4 kB / 0.7892 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2421, allocations: 4 kB / 0.7892 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.2421, allocations: 75.28 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2421, allocations: 0 / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001911/0.2423, allocations: 4 kB / 0.7893 GB, free: 6.844 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.0003711/0.2427, allocations: 0.6164 MB / 0.7899 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.2431, allocations: 67.75 kB / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2432, allocations: 0 / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.2434, allocations: 39.95 kB / 0.79 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.2435, allocations: 4.938 kB / 0.79 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.244, allocations: 133.5 kB / 0.7901 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.2442, allocations: 0.6768 MB / 0.7908 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.2443, allocations: 4 kB / 0.7908 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.2443, allocations: 11.44 kB / 0.7908 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2443, allocations: 0 / 0.7908 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.2622, allocations: 1.275 MB / 0.7921 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.6, allocations: 5.562 kB / 0.7921 GB, free: 4.051 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)