Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001082/0.001083, allocations: 193.9 kB / 16.14 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9893/0.9893, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1652, allocations: 82.03 MB / 0.5937 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002847/0.1681, allocations: 1.494 MB / 0.5952 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000788/0.1689, allocations: 419.5 kB / 0.5956 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.169, allocations: 0 / 0.5956 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.169, allocations: 0 / 0.5956 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.1691, allocations: 11.94 kB / 0.5956 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1694, allocations: 77.84 kB / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.1694, allocations: 23.92 kB / 0.5957 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.1695, allocations: 4 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.1696, allocations: 11.92 kB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.1696, allocations: 11.98 kB / 0.5957 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1696, allocations: 4 kB / 0.5957 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.1699, allocations: 271.7 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.17, allocations: 7.922 kB / 0.596 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.17, allocations: 15.92 kB / 0.596 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1702, allocations: 103.8 kB / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1702, allocations: 0 / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1702, allocations: 0 / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1702, allocations: 0 / 0.5961 GB, free: 7.516 MB / 0.4981 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.0004772/0.1707, allocations: 367.6 kB / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1708, allocations: 12.03 kB / 0.5965 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.1708, allocations: 30.75 kB / 0.5965 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.1709, allocations: 4.938 kB / 0.5965 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.171, allocations: 172.2 kB / 0.5967 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.171, allocations: 4.375 kB / 0.5967 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.171, allocations: 4.375 kB / 0.5967 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1712, allocations: 46.23 kB / 0.5967 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1712, allocations: 7.922 kB / 0.5967 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1712, allocations: 4 kB / 0.5967 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1713, allocations: 4 kB / 0.5967 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.1714, allocations: 31.97 kB / 0.5968 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.1717, allocations: 249 kB / 0.597 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1719, allocations: 46.44 kB / 0.597 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.172, allocations: 24.91 kB / 0.5971 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.1726, allocations: 457.5 kB / 0.5975 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1726, allocations: 38.56 kB / 0.5975 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1727, allocations: 0 / 0.5975 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003361/0.173, allocations: 81.58 kB / 0.5976 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.173, allocations: 51.41 kB / 0.5977 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.1731, allocations: 105.8 kB / 0.5978 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1731, allocations: 29.7 kB / 0.5978 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.1732, allocations: 92.17 kB / 0.5979 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.1732, allocations: 3.938 kB / 0.5979 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1732, allocations: 17.72 kB / 0.5979 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.1733, allocations: 314.8 kB / 0.5982 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.1734, allocations: 15.98 kB / 0.5982 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.1735, allocations: 19.92 kB / 0.5982 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1736, allocations: 44.88 kB / 0.5983 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1736, allocations: 3.938 kB / 0.5983 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.1738, allocations: 73.52 kB / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1739, allocations: 4 kB / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1739, allocations: 0 / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1739, allocations: 3.984 kB / 0.5984 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.174, allocations: 12.03 kB / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.174, allocations: 0 / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.174, allocations: 7.984 kB / 0.5984 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.174, allocations: 256 / 0.5984 GB, free: 4.852 MB / 0.4981 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 (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 6.21e-05/0.1741, allocations: 109.8 kB / 0.5985 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1741, allocations: 4 kB / 0.5985 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.1744, allocations: 77.19 kB / 0.5986 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1744, allocations: 4 kB / 0.5986 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1744, allocations: 7.922 kB / 0.5986 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1744, allocations: 3.938 kB / 0.5986 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1745, allocations: 157.6 kB / 0.5987 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1745, allocations: 0 / 0.5987 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.1746, allocations: 15.98 kB / 0.5987 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1746, allocations: 0 / 0.5987 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1746, allocations: 0 / 0.5987 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1746, allocations: 0 / 0.5987 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1746, allocations: 32 / 0.5987 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1749, allocations: 171.4 kB / 0.5989 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.1749, allocations: 77.11 kB / 0.599 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1749, allocations: 4 kB / 0.599 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.175, allocations: 7.984 kB / 0.599 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.175, allocations: 0 / 0.599 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1751, allocations: 8.031 kB / 0.599 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.1751, allocations: 83.27 kB / 0.5991 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1751, allocations: 0 / 0.5991 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002476/0.1753, allocations: 16 kB / 0.5991 GB, free: 4.016 MB / 0.4981 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 (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.0006323/0.176, allocations: 0.7163 MB / 0.5998 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1762, allocations: 31.97 kB / 0.5998 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1762, allocations: 3.938 kB / 0.5998 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.1763, allocations: 23.92 kB / 0.5999 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.1766, allocations: 4 kB / 0.5999 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.177, allocations: 149 kB / 0.6 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1772, allocations: 0.677 MB / 0.6007 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1772, allocations: 3.984 kB / 0.6007 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.1773, allocations: 15.44 kB / 0.6007 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1773, allocations: 0 / 0.6007 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.1883, allocations: 1.422 MB / 0.6021 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.1885, allocations: 203.1 kB / 0.6023 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.753, allocations: 0 / 0.6023 GB, free: 0.7383 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)