Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 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.001152/0.001152, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.334/1.334, 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.002059/0.002059, allocations: 282.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9299/0.9299, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 101.9 kB / 0.5953 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1573, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002912/0.1602, allocations: 1.43 MB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.1605, allocations: 89.31 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.1606, allocations: 1.719 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.1606, allocations: 3.938 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.1607, allocations: 3.938 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.161, allocations: 15.98 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.161, allocations: 24.8 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1612, allocations: 12.27 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.1612, allocations: 12.58 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.1613, allocations: 20.44 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1613, allocations: 0 / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.1614, allocations: 20.92 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.1614, allocations: 4 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.1614, allocations: 9.062 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1616, allocations: 35.83 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1616, allocations: 4 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1616, allocations: 4 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1616, allocations: 0 / 0.6819 GB, free: 14.91 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.0004756/0.1621, allocations: 335.5 kB / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1622, allocations: 12.03 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.1622, allocations: 34.75 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1624, allocations: 12.92 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1625, allocations: 168.3 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1626, allocations: 8.359 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.1626, allocations: 8.312 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1628, allocations: 54.23 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1628, allocations: 3.938 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1628, allocations: 0 / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1628, allocations: 0 / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.163, allocations: 51.94 kB / 0.6826 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1635, allocations: 264.9 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1636, allocations: 58.42 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1638, allocations: 32.89 kB / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1638, allocations: 0 / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1638, allocations: 34.56 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.1638, allocations: 0 / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004264/0.1643, allocations: 101.6 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1643, allocations: 51.41 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.1644, allocations: 109.8 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1644, allocations: 29.83 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.1645, allocations: 80.14 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1645, allocations: 11.91 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1646, allocations: 21.58 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1647, allocations: 310.8 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1648, allocations: 27.97 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1649, allocations: 23.98 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1651, allocations: 52.81 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1651, allocations: 3.938 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002338/0.1654, allocations: 77.64 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1654, allocations: 12.09 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1654, allocations: 0 / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1654, allocations: 3.938 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1655, allocations: 11.98 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1655, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.1656, allocations: 11.89 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1656, allocations: 0 / 0.6839 GB, free: 12.7 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.1657, allocations: 114.4 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1657, allocations: 4 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.1658, allocations: 7.531 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1658, allocations: 0 / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1658, allocations: 4 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1658, allocations: 3.984 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.166, allocations: 161.6 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.166, allocations: 0 / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.1661, allocations: 11.98 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1661, allocations: 256 / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1661, allocations: 4 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1661, allocations: 12 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1661, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.1664, allocations: 179.4 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.1664, allocations: 85 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1664, allocations: 0 / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.1665, allocations: 12.02 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1666, allocations: 4 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1666, allocations: 0 / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.1667, allocations: 83.28 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1667, allocations: 0 / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1669, allocations: 4 kB / 0.6845 GB, free: 11.93 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005804/0.1675, allocations: 0.7124 MB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1677, allocations: 59.88 kB / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1677, allocations: 0 / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1679, allocations: 28.08 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1682, allocations: 7.922 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.1687, allocations: 147.2 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.169, allocations: 0.6807 MB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.1691, allocations: 4.062 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.1691, allocations: 11.44 kB / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1691, allocations: 0 / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.1988, allocations: 1.439 MB / 0.6875 GB, free: 8.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.799, allocations: 11.94 kB / 0.6875 GB, free: 8.824 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)