Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_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.001224/0.001224, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001262/0.001262, allocations: 182.7 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7524/0.7524, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 68.08 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3615, allocations: 77.92 MB / 0.5673 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002372/0.3639, allocations: 0.5729 MB / 0.5679 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000388/0.3643, allocations: 95.53 kB / 0.5679 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.3644, allocations: 0 / 0.5679 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.3644, allocations: 5.094 kB / 0.5679 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.3645, allocations: 0 / 0.5679 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3647, allocations: 14.22 kB / 0.568 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.3648, allocations: 5.547 kB / 0.568 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.3648, allocations: 6.875 kB / 0.568 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.3648, allocations: 3.094 kB / 0.568 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.3649, allocations: 14.75 kB / 0.568 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3649, allocations: 1.531 kB / 0.568 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-05/0.365, allocations: 15.17 kB / 0.568 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.365, allocations: 5.125 kB / 0.568 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.365, allocations: 2.734 kB / 0.568 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.828e-05/0.3651, allocations: 14.08 kB / 0.568 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3652, allocations: 0.7969 kB / 0.568 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3652, allocations: 0.5625 kB / 0.568 GB, free: 32.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3652, allocations: 3.594 kB / 0.568 GB, free: 32.07 MB / 446.1 MB 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.0003144/0.3655, allocations: 320 kB / 0.5683 GB, free: 31.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3655, allocations: 11.09 kB / 0.5683 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.565e-05/0.3656, allocations: 31.88 kB / 0.5684 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.3657, allocations: 9.734 kB / 0.5684 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.228e-05/0.3658, allocations: 161.8 kB / 0.5685 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3658, allocations: 7.688 kB / 0.5686 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.3658, allocations: 1.469 kB / 0.5686 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3659, allocations: 44.62 kB / 0.5686 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.366, allocations: 8.438 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.366, allocations: 0 / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.366, allocations: 2.188 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.3661, allocations: 19.66 kB / 0.5686 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.3662, allocations: 151.5 kB / 0.5688 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3663, allocations: 42.2 kB / 0.5688 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.3664, allocations: 11.55 kB / 0.5688 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3664, allocations: 3.984 kB / 0.5688 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.3664, allocations: 38.23 kB / 0.5689 GB, free: 31.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3664, allocations: 0 / 0.5689 GB, free: 31.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001942/0.3666, allocations: 65.67 kB / 0.5689 GB, free: 31.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.3667, allocations: 51.41 kB / 0.569 GB, free: 31.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.921e-05/0.3667, allocations: 91.31 kB / 0.5691 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.3667, allocations: 26.8 kB / 0.5691 GB, free: 30.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.3667, allocations: 81.11 kB / 0.5692 GB, free: 30.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.3668, allocations: 14.19 kB / 0.5692 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.3668, allocations: 13.56 kB / 0.5692 GB, free: 30.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.3669, allocations: 313.2 kB / 0.5695 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.3669, allocations: 10.78 kB / 0.5695 GB, free: 30.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.3669, allocations: 5.641 kB / 0.5695 GB, free: 30.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.367, allocations: 22.27 kB / 0.5695 GB, free: 30.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.367, allocations: 4.469 kB / 0.5695 GB, free: 30.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001035/0.3671, allocations: 47.75 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3672, allocations: 9.688 kB / 0.5696 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3672, allocations: 5.406 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3672, allocations: 1.438 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.3676, allocations: 43.39 kB / 0.5696 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.3686, allocations: 1.406 MB / 0.571 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.3687, allocations: 2.297 kB / 0.571 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3687, allocations: 0.5938 kB / 0.571 GB, free: 29 MB / 446.1 MB 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.036e-05/0.3688, allocations: 118.5 kB / 0.5711 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.3688, allocations: 0.6562 kB / 0.5711 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331e-05/0.3688, allocations: 5.312 kB / 0.5711 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3688, allocations: 2.609 kB / 0.5711 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.3688, allocations: 1.312 kB / 0.5711 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3688, allocations: 0 / 0.5711 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.029e-05/0.3689, allocations: 159.3 kB / 0.5713 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3689, allocations: 0.5 kB / 0.5713 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.3693, allocations: 49.19 kB / 0.5713 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3693, allocations: 4 kB / 0.5713 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3693, allocations: 2.438 kB / 0.5713 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008386/0.3701, allocations: 1.413 MB / 0.5727 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3701, allocations: 1.125 kB / 0.5727 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3703, allocations: 74.45 kB / 0.5728 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.3703, allocations: 79.23 kB / 0.5729 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.3703, allocations: 7.938 kB / 0.5729 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.622e-05/0.3703, allocations: 6.594 kB / 0.5729 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.3704, allocations: 4.188 kB / 0.5729 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3704, allocations: 1.188 kB / 0.5729 GB, free: 27.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.372e-05/0.3704, allocations: 77 kB / 0.573 GB, free: 26.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3704, allocations: 0 / 0.573 GB, free: 26.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.3706, allocations: 3.562 kB / 0.573 GB, free: 26.97 MB / 446.1 MB 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.000295/0.3709, allocations: 0.6159 MB / 0.5736 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004563/0.3714, allocations: 69.42 kB / 0.5736 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3714, allocations: 0 / 0.5736 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.3716, allocations: 36.77 kB / 0.5737 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3717, allocations: 9.031 kB / 0.5737 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.3721, allocations: 120 kB / 0.5738 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.712e-05/0.3722, allocations: 0.6758 MB / 0.5744 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.3722, allocations: 3.188 kB / 0.5744 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3723, allocations: 14.25 kB / 0.5745 GB, free: 25.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3723, allocations: 0 / 0.5745 GB, free: 25.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.3893, allocations: 1.229 MB / 0.5757 GB, free: 25.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.11, allocations: 13.78 kB / 0.5757 GB, free: 25.18 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)