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.001223/0.001223, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001345/0.001345, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.8947/0.8947, allocations: 145 MB / 458.2 MB, free: 15.5 MB / 366.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.002077/0.002077, allocations: 57.81 kB / 0.634 GB, free: 7.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1733, allocations: 87.89 MB / 0.7198 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001823/0.1751, allocations: 0.5728 MB / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006776/0.1758, allocations: 334.6 kB / 0.7207 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.436e-05/0.1758, allocations: 0 / 0.7207 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.1758, allocations: 0 / 0.7207 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.1758, allocations: 0 / 0.7207 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.1763, allocations: 107.6 kB / 0.7208 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.546e-05/0.1763, allocations: 4 kB / 0.7208 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1763, allocations: 7.984 kB / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.063e-05/0.1764, allocations: 0 / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.074e-05/0.1764, allocations: 0 / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1764, allocations: 0 / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.1768, allocations: 279.7 kB / 0.7211 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1768, allocations: 0 / 0.7211 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.1768, allocations: 0 / 0.7211 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.177, allocations: 87.78 kB / 0.7212 GB, free: 13.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.177, allocations: 3.938 kB / 0.7212 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.177, allocations: 0 / 0.7212 GB, free: 13.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.177, allocations: 4 kB / 0.7212 GB, free: 13.96 MB / 0.545 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.0003163/0.1774, allocations: 258.2 kB / 0.7214 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1774, allocations: 8.031 kB / 0.7214 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/0.1774, allocations: 192 / 0.7214 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.1774, allocations: 30.75 kB / 0.7214 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.1775, allocations: 4.938 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.1776, allocations: 110.5 kB / 0.7216 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-06/0.1776, allocations: 384 / 0.7216 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.1776, allocations: 384 / 0.7216 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.1777, allocations: 41.95 kB / 0.7216 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1777, allocations: 0 / 0.7216 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1777, allocations: 4 kB / 0.7216 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1777, allocations: 0 / 0.7216 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.1777, allocations: 0 / 0.7216 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.1778, allocations: 116.8 kB / 0.7217 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/0.1779, allocations: 22.56 kB / 0.7217 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.1779, allocations: 8.859 kB / 0.7217 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.1783, allocations: 48 kB / 0.7218 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1783, allocations: 38.44 kB / 0.7218 GB, free: 13.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1783, allocations: 0 / 0.7218 GB, free: 13.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.1784, allocations: 37.81 kB / 0.7219 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1785, allocations: 59.34 kB / 0.7219 GB, free: 13.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.381e-05/0.1785, allocations: 93.86 kB / 0.722 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1785, allocations: 25.7 kB / 0.722 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.1786, allocations: 80.14 kB / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1786, allocations: 0 / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.1786, allocations: 13.72 kB / 0.7221 GB, free: 12.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1788, allocations: 310.8 kB / 0.7224 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.1788, allocations: 0 / 0.7224 GB, free: 12.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.1788, allocations: 7.938 kB / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.1788, allocations: 12.8 kB / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1788, allocations: 0 / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.596e-05/0.1789, allocations: 37.69 kB / 0.7225 GB, free: 12.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1789, allocations: 11.94 kB / 0.7225 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1789, allocations: 0 / 0.7225 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1789, allocations: 0 / 0.7225 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.1789, allocations: 0 / 0.7225 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.179, allocations: 8.094 kB / 0.7225 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.179, allocations: 0 / 0.7225 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.179, allocations: 0 / 0.7225 GB, free: 12.4 MB / 0.545 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.268e-05/0.179, allocations: 105.8 kB / 0.7226 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1791, allocations: 3.938 kB / 0.7226 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.1792, allocations: 48.62 kB / 0.7226 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1792, allocations: 0 / 0.7226 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1792, allocations: 0 / 0.7226 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1792, allocations: 4.031 kB / 0.7226 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.265e-05/0.1793, allocations: 116.8 kB / 0.7228 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1793, allocations: 0 / 0.7228 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.1793, allocations: 4 kB / 0.7228 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1793, allocations: 3.938 kB / 0.7228 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1793, allocations: 0 / 0.7228 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1793, allocations: 0 / 0.7228 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1793, allocations: 0 / 0.7228 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.1794, allocations: 65.08 kB / 0.7228 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.1794, allocations: 3.984 kB / 0.7228 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1794, allocations: 3.938 kB / 0.7228 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.1794, allocations: 8 kB / 0.7228 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.1794, allocations: 3.984 kB / 0.7228 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.1794, allocations: 0 / 0.7228 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.1795, allocations: 75.28 kB / 0.7229 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1795, allocations: 0 / 0.7229 GB, free: 11.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001921/0.1796, allocations: 8 kB / 0.7229 GB, free: 11.88 MB / 0.545 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.000459/0.1801, allocations: 0.6227 MB / 0.7235 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.1802, allocations: 11.92 kB / 0.7235 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1802, allocations: 3.938 kB / 0.7236 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.1802, allocations: 4 kB / 0.7236 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1803, allocations: 8.156 kB / 0.7236 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.1806, allocations: 106.5 kB / 0.7237 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1809, allocations: 0.6729 MB / 0.7243 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.1809, allocations: 4 kB / 0.7243 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.1809, allocations: 7.438 kB / 0.7243 GB, free: 10.34 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1809, allocations: 0 / 0.7243 GB, free: 10.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.2012, allocations: 1.325 MB / 0.7256 GB, free: 9.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.24, allocations: 9.516 kB / 0.7256 GB, free: 9.156 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.85801166400779] Failed to read output from testmodel.py, exit status != 0: 11.400561481015757 11.42787953 11.246220893 Calling exit ...