Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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.001454/0.001454, allocations: 108 kB / 15.6 MB, free: 132 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.001662/0.001662, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9327/0.9327, allocations: 169.2 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 98.41 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1641, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001853/0.166, allocations: 0.5819 MB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.1663, allocations: 95.61 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.1663, allocations: 0 / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1663, allocations: 7.938 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.1664, allocations: 0 / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.1666, allocations: 19.92 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.1666, allocations: 7.984 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.1667, allocations: 4 kB / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.1667, allocations: 7.984 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.1668, allocations: 4 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1668, allocations: 0 / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.1669, allocations: 11.98 kB / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1669, allocations: 4 kB / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1669, allocations: 7.938 kB / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.05e-05/0.167, allocations: 7.984 kB / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.167, allocations: 0 / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.167, allocations: 0 / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.167, allocations: 8 kB / 0.681 GB, free: 15.82 MB / 494.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.0003403/0.1674, allocations: 319.9 kB / 0.6813 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1674, allocations: 8.031 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.1674, allocations: 34.75 kB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1676, allocations: 8.922 kB / 0.6814 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.1677, allocations: 168.3 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1677, allocations: 4.312 kB / 0.6816 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.1677, allocations: 384 / 0.6816 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1679, allocations: 50.23 kB / 0.6816 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1679, allocations: 3.938 kB / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1679, allocations: 0 / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1679, allocations: 0 / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.187e-05/0.168, allocations: 19.92 kB / 0.6816 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1681, allocations: 153.7 kB / 0.6818 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1683, allocations: 46.55 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.1684, allocations: 12.91 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1684, allocations: 4 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1684, allocations: 30.56 kB / 0.6819 GB, free: 14.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1685, allocations: 0 / 0.6819 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002174/0.1687, allocations: 61.61 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1687, allocations: 55.41 kB / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.12e-05/0.1688, allocations: 89.86 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1688, allocations: 25.7 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.1688, allocations: 80.14 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.1689, allocations: 11.81 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1689, allocations: 17.66 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.169, allocations: 314.8 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.1691, allocations: 4 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.1691, allocations: 19.92 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.1692, allocations: 24.86 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1692, allocations: 0 / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001146/0.1693, allocations: 49.67 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1694, allocations: 4 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1694, allocations: 3.938 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1694, allocations: 0 / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.1698, allocations: 47.88 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.1711, allocations: 1.405 MB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.1711, allocations: 0 / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1712, allocations: 4.031 kB / 0.684 GB, free: 12.4 MB / 494.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 7.11e-05/0.1712, allocations: 116.7 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.1712, allocations: 3.938 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.1713, allocations: 7.5 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1713, allocations: 4 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1713, allocations: 0 / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1713, allocations: 64 / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.1714, allocations: 157.6 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1714, allocations: 0 / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.1718, allocations: 43.94 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1718, allocations: 3.938 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1718, allocations: 4 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.1732, allocations: 1.413 MB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1732, allocations: 0 / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1734, allocations: 73.2 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.1734, allocations: 77.11 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.1734, allocations: 3.938 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.1735, allocations: 4 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.1735, allocations: 7.984 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1735, allocations: 0 / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.1735, allocations: 75.28 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1735, allocations: 0 / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1737, allocations: 8 kB / 0.686 GB, free: 10.18 MB / 494.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.0004644/0.1742, allocations: 0.6124 MB / 0.6866 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.1747, allocations: 68 kB / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1747, allocations: 0 / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.175, allocations: 39.89 kB / 0.6867 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1751, allocations: 1.891 kB / 0.6867 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.1757, allocations: 134.5 kB / 0.6868 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.176, allocations: 0.6729 MB / 0.6874 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.176, allocations: 0 / 0.6874 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1761, allocations: 15.44 kB / 0.6875 GB, free: 8.539 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1761, allocations: 0 / 0.6875 GB, free: 8.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.1942, allocations: 1.264 MB / 0.6887 GB, free: 7.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.2, allocations: 5.969 kB / 0.6887 GB, free: 7.434 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)