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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9472/0.9472, allocations: 144.9 MB / 454.5 MB, free: 10.02 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 74.94 kB / 0.6288 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1715, allocations: 87.82 MB / 0.7145 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00196/0.1734, allocations: 0.5888 MB / 0.7151 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.1742, allocations: 327.2 kB / 0.7154 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.1742, allocations: 0 / 0.7154 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.1742, allocations: 0 / 0.7154 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.1743, allocations: 0 / 0.7154 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.1748, allocations: 103.7 kB / 0.7155 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.1749, allocations: 3.938 kB / 0.7155 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1749, allocations: 8 kB / 0.7155 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.1749, allocations: 0 / 0.7155 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.258e-05/0.1749, allocations: 3.984 kB / 0.7155 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.1749, allocations: 0 / 0.7155 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.1754, allocations: 275.7 kB / 0.7158 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.1754, allocations: 3.984 kB / 0.7158 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.1754, allocations: 0 / 0.7158 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1756, allocations: 88.02 kB / 0.7159 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1756, allocations: 3.938 kB / 0.7159 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1756, allocations: 0 / 0.7159 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.1756, allocations: 0 / 0.7159 GB, free: 10.32 MB / 0.5294 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.000375/0.176, allocations: 343.3 kB / 0.7162 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.176, allocations: 8.031 kB / 0.7162 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.409e-05/0.1761, allocations: 192 / 0.7162 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.1761, allocations: 30.75 kB / 0.7162 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.1761, allocations: 0.9375 kB / 0.7162 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1763, allocations: 168.3 kB / 0.7164 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.1763, allocations: 4.375 kB / 0.7164 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.1763, allocations: 384 / 0.7164 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1764, allocations: 34.02 kB / 0.7164 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1764, allocations: 0 / 0.7164 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.1764, allocations: 3.938 kB / 0.7164 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.1764, allocations: 0 / 0.7164 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1764, allocations: 7.938 kB / 0.7165 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.1766, allocations: 149.7 kB / 0.7166 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.53e-05/0.1766, allocations: 18.61 kB / 0.7166 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.1766, allocations: 4.859 kB / 0.7166 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005441/0.1772, allocations: 429.6 kB / 0.717 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1772, allocations: 34.5 kB / 0.7171 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.1772, allocations: 0 / 0.7171 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.1774, allocations: 33.64 kB / 0.7171 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1774, allocations: 59.53 kB / 0.7171 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.142e-05/0.1775, allocations: 97.84 kB / 0.7172 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1775, allocations: 25.7 kB / 0.7173 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.1775, allocations: 80.14 kB / 0.7173 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1775, allocations: 0 / 0.7173 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1776, allocations: 9.719 kB / 0.7174 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1777, allocations: 314.8 kB / 0.7177 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.1777, allocations: 0 / 0.7177 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.1777, allocations: 0 / 0.7177 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.1777, allocations: 12.92 kB / 0.7177 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1777, allocations: 0 / 0.7177 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.35e-05/0.1778, allocations: 41.62 kB / 0.7177 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1779, allocations: 13.66 kB / 0.7177 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1779, allocations: 0 / 0.7177 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1779, allocations: 4 kB / 0.7177 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.1779, allocations: 0 / 0.7177 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1779, allocations: 0 / 0.7177 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.497e-05/0.1779, allocations: 4 kB / 0.7177 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1779, allocations: 4.031 kB / 0.7177 GB, free: 8.098 MB / 0.5294 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 7.531e-05/0.178, allocations: 109.8 kB / 0.7178 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.178, allocations: 3.938 kB / 0.7178 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1781, allocations: 48.75 kB / 0.7179 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1782, allocations: 3.984 kB / 0.7179 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1782, allocations: 0 / 0.7179 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1782, allocations: 0 / 0.7179 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1783, allocations: 145.7 kB / 0.718 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1783, allocations: 0 / 0.718 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.1783, allocations: 7.984 kB / 0.718 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1783, allocations: 3.938 kB / 0.718 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1783, allocations: 0 / 0.718 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1783, allocations: 0 / 0.718 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1783, allocations: 0 / 0.718 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.1784, allocations: 61.08 kB / 0.7181 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.1785, allocations: 81.14 kB / 0.7182 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1785, allocations: 7.922 kB / 0.7182 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.1785, allocations: 0 / 0.7182 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.1785, allocations: 0 / 0.7182 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1785, allocations: 4 kB / 0.7182 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.1786, allocations: 79.22 kB / 0.7183 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1786, allocations: 0 / 0.7183 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002048/0.1788, allocations: 11.94 kB / 0.7183 GB, free: 7.438 MB / 0.5294 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.0005267/0.1793, allocations: 0.6124 MB / 0.7189 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.1794, allocations: 4 kB / 0.7189 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1794, allocations: 0 / 0.7189 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.1794, allocations: 7.938 kB / 0.7189 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1795, allocations: 9.531 kB / 0.7189 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1799, allocations: 118.7 kB / 0.719 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1802, allocations: 0.669 MB / 0.7197 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.1802, allocations: 0 / 0.7197 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.1802, allocations: 11.42 kB / 0.7197 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1802, allocations: 0 / 0.7197 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1987, allocations: 1.259 MB / 0.7209 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.397, allocations: 11.34 kB / 0.7209 GB, free: 4.809 MB / 0.5294 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.36002305400325] Failed to read output from testmodel.py, exit status != 0: 8.520482398977038 8.536391502 8.357690921 Calling exit ...