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.0008267/0.0008267, allocations: 88.23 kB / 20.46 MB, free: 4.113 MB / 18.57 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.0009689/0.0009689, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 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.035/1.035, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.6625/0.6625, allocations: 110.2 MB / 371 MB, free: 12.55 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 475.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.414e-05, allocations: 3.062 kB / 475.2 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001052/0.001076, allocations: 0.6016 MB / 475.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.001541, allocations: 297.7 kB / 476.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.001557, allocations: 1.656 kB / 476.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.001575, allocations: 0 / 476.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.001581, allocations: 0 / 476.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.001986, allocations: 106.3 kB / 476.2 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.002032, allocations: 2.625 kB / 476.2 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.002071, allocations: 7.375 kB / 476.3 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.002096, allocations: 1.125 kB / 476.3 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.422e-05/0.00212, allocations: 6.609 kB / 476.3 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.002133, allocations: 0 / 476.3 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.002402, allocations: 256 kB / 476.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.002415, allocations: 1.531 kB / 476.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.002429, allocations: 0 / 476.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.002585, allocations: 112 kB / 476.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.002588, allocations: 0 / 476.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002589, allocations: 0.5625 kB / 476.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.002593, allocations: 0.7188 kB / 476.6 MB, free: 14.53 MB / 410.7 MB 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.0002258/0.002819, allocations: 369.9 kB / 477 MB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.002858, allocations: 11.22 kB / 477 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.002939, allocations: 0.9375 kB / 477 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.198e-05/0.002981, allocations: 112.3 kB / 477.1 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.002992, allocations: 384 / 477.1 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.003002, allocations: 4.359 kB / 477.1 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.003076, allocations: 29.77 kB / 477.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.003084, allocations: 192 / 477.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.003094, allocations: 2.375 kB / 477.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.003102, allocations: 3.75 kB / 477.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.003117, allocations: 6.562 kB / 477.2 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.157e-05/0.003198, allocations: 111.2 kB / 477.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.003235, allocations: 31 kB / 477.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.00325, allocations: 15.41 kB / 477.3 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.003517, allocations: 46.19 kB / 477.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.003533, allocations: 36.02 kB / 477.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.003534, allocations: 0.9375 kB / 477.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.003665, allocations: 34.89 kB / 477.4 MB, free: 13.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.003684, allocations: 55.67 kB / 477.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.003927, allocations: 142.2 kB / 477.6 MB, free: 29.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-06/0.003932, allocations: 26.33 kB / 477.6 MB, free: 29.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.003955, allocations: 129.5 kB / 477.8 MB, free: 29.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.003984, allocations: 4.797 kB / 477.8 MB, free: 29.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.004005, allocations: 25.06 kB / 477.8 MB, free: 29.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.004109, allocations: 496.1 kB / 478.3 MB, free: 28.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.004119, allocations: 0 / 478.3 MB, free: 28.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-06/0.004125, allocations: 2.625 kB / 478.3 MB, free: 28.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.004151, allocations: 10.31 kB / 478.3 MB, free: 28.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004153, allocations: 0 / 478.3 MB, free: 28.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.967e-05/0.004203, allocations: 38.59 kB / 478.3 MB, free: 28.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.004215, allocations: 9 kB / 478.3 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.004219, allocations: 0 / 478.3 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.004233, allocations: 0 / 478.3 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.135e-05/0.004275, allocations: 6.562 kB / 478.3 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.00428, allocations: 0 / 478.3 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.004289, allocations: 7.219 kB / 478.4 MB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004293, allocations: 0 / 478.4 MB, free: 28.73 MB / 426.7 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 (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 4.959e-05/0.004343, allocations: 160.7 kB / 478.5 MB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.004354, allocations: 3.375 kB / 478.5 MB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.004417, allocations: 36.2 kB / 478.5 MB, free: 28.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.004419, allocations: 0 / 478.5 MB, free: 28.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.004422, allocations: 0 / 478.5 MB, free: 28.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004425, allocations: 0 / 478.5 MB, free: 28.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.909e-05/0.004464, allocations: 114.7 kB / 478.7 MB, free: 28.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.004465, allocations: 0 / 478.7 MB, free: 28.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.004473, allocations: 8.969 kB / 478.7 MB, free: 28.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.004474, allocations: 0 / 478.7 MB, free: 28.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.00448, allocations: 4 kB / 478.7 MB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.004481, allocations: 4 kB / 478.7 MB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.004481, allocations: 0 / 478.7 MB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.344e-05/0.004525, allocations: 71.64 kB / 478.7 MB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-06/0.004528, allocations: 3.438 kB / 478.8 MB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.004536, allocations: 0 / 478.8 MB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-06/0.004539, allocations: 1.719 kB / 478.8 MB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.004552, allocations: 2.906 kB / 478.8 MB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.004553, allocations: 0 / 478.8 MB, free: 28.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.912e-05/0.004582, allocations: 119.2 kB / 478.9 MB, free: 28.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004582, allocations: 0 / 478.9 MB, free: 28.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.004712, allocations: 18.8 kB / 478.9 MB, free: 28.18 MB / 426.7 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 (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.0001085/0.00482, allocations: 112.3 kB / 479 MB, free: 28.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.004891, allocations: 20.3 kB / 479 MB, free: 28.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.004892, allocations: 0 / 479 MB, free: 28.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-06/0.0049, allocations: 11.25 kB / 479 MB, free: 28.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.00503, allocations: 0 / 479 MB, free: 28.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/0.005195, allocations: 79.91 kB / 479.1 MB, free: 27.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.92e-05/0.005214, allocations: 53.98 kB / 479.2 MB, free: 27.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.741e-05/0.005232, allocations: 3.562 kB / 479.2 MB, free: 27.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.005248, allocations: 12.5 kB / 479.2 MB, free: 27.88 MB / 426.7 MB Notification: Performance of SimCode: time 8.61e-07/0.005248, allocations: 7.188 kB / 479.2 MB, free: 27.87 MB / 426.7 MB Notification: Performance of Templates: time 0.002033/0.007282, allocations: 497.9 kB / 479.7 MB, free: 27.82 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6431363760493696]