Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.001215/0.001215, 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.001197/0.001196, allocations: 197 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 1.02/1.02, allocations: 143 MB / 433.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.84 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1704, allocations: 82.03 MB / 0.5944 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001761/0.1722, allocations: 0.5779 MB / 0.595 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006051/0.1728, allocations: 326.8 kB / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.1728, allocations: 0 / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.1728, allocations: 0 / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.1729, allocations: 0 / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1733, allocations: 115.7 kB / 0.5954 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.27e-05/0.1733, allocations: 3.938 kB / 0.5954 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.1734, allocations: 0 / 0.5954 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.1734, allocations: 7.938 kB / 0.5954 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.1734, allocations: 4 kB / 0.5954 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1735, allocations: 0 / 0.5954 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1738, allocations: 271.6 kB / 0.5957 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1739, allocations: 3.984 kB / 0.5957 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.1739, allocations: 0 / 0.5957 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1741, allocations: 91.86 kB / 0.5958 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1741, allocations: 0 / 0.5958 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1741, allocations: 3.938 kB / 0.5958 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1741, allocations: 0 / 0.5958 GB, free: 8.152 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002876/0.1744, allocations: 331.6 kB / 0.5961 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1744, allocations: 12.03 kB / 0.5961 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1745, allocations: 30.75 kB / 0.5961 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1745, allocations: 0.9375 kB / 0.5961 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.1746, allocations: 160.4 kB / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1746, allocations: 384 / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.1746, allocations: 4.375 kB / 0.5963 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.472e-05/0.1747, allocations: 30.27 kB / 0.5963 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1747, allocations: 7.875 kB / 0.5963 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1747, allocations: 3.984 kB / 0.5963 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1748, allocations: 0 / 0.5963 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.1748, allocations: 3.938 kB / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.1749, allocations: 149.7 kB / 0.5965 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.381e-05/0.175, allocations: 18.58 kB / 0.5965 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.175, allocations: 4.859 kB / 0.5965 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.1755, allocations: 425.6 kB / 0.5969 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1755, allocations: 34.56 kB / 0.5969 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1755, allocations: 0 / 0.5969 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.1756, allocations: 45.56 kB / 0.597 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1757, allocations: 55.41 kB / 0.597 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.407e-05/0.1757, allocations: 89.86 kB / 0.5971 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1757, allocations: 25.7 kB / 0.5971 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.1758, allocations: 80.14 kB / 0.5972 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1758, allocations: 3.906 kB / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.1758, allocations: 13.72 kB / 0.5972 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.1759, allocations: 311 kB / 0.5975 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.1759, allocations: 4 kB / 0.5975 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.1759, allocations: 4 kB / 0.5975 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.176, allocations: 12.84 kB / 0.5975 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.176, allocations: 0 / 0.5975 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.451e-05/0.1761, allocations: 41.58 kB / 0.5976 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1761, allocations: 5.562 kB / 0.5976 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1761, allocations: 3.938 kB / 0.5976 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1761, allocations: 0 / 0.5976 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.1761, allocations: 8.094 kB / 0.5976 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1762, allocations: 0 / 0.5976 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.1762, allocations: 4.281 kB / 0.5976 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1762, allocations: 0 / 0.5976 GB, free: 5.941 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 (1): * Single equations (assignments): 1 * 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 5.721e-05/0.1762, allocations: 113.8 kB / 0.5977 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1763, allocations: 0 / 0.5977 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.1763, allocations: 44.7 kB / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1764, allocations: 0 / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1764, allocations: 11.91 kB / 0.5978 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1764, allocations: 0 / 0.5978 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.858e-05/0.1765, allocations: 149.7 kB / 0.5979 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1765, allocations: 0 / 0.5979 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/0.1765, allocations: 0 / 0.5979 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1765, allocations: 0 / 0.5979 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1765, allocations: 3.938 kB / 0.5979 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1765, allocations: 4 kB / 0.5979 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1765, allocations: 0 / 0.5979 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.1766, allocations: 61.12 kB / 0.598 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.1766, allocations: 77.11 kB / 0.598 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1766, allocations: 7.938 kB / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-06/0.1766, allocations: 0 / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.1767, allocations: 0 / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.1767, allocations: 0 / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.736e-05/0.1767, allocations: 75.28 kB / 0.5981 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1767, allocations: 0 / 0.5981 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002004/0.1769, allocations: 12 kB / 0.5981 GB, free: 5.293 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 (1): * Single equations (assignments): 1 * 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.0003933/0.1773, allocations: 0.6241 MB / 0.5987 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.251e-05/0.1774, allocations: 4 kB / 0.5987 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1774, allocations: 0 / 0.5987 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.1774, allocations: 12.03 kB / 0.5988 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1775, allocations: 4 kB / 0.5988 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.1778, allocations: 110.6 kB / 0.5989 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.178, allocations: 0.669 MB / 0.5995 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.489e-05/0.178, allocations: 0 / 0.5995 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.1781, allocations: 7.438 kB / 0.5995 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1781, allocations: 7.938 kB / 0.5995 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.1937, allocations: 1.176 MB / 0.6007 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.714, allocations: 11.19 kB / 0.6007 GB, free: 2.695 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)