Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001964/0.001964, allocations: 87.67 kB / 20.24 MB, free: 4.184 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.00227/0.00227, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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.737/1.737, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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 1.155/1.155, allocations: 110.3 MB / 370.6 MB, free: 12.47 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 178] 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 474.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.678e-05/3.898e-05, allocations: 2.844 kB / 474.5 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001926/0.001965, allocations: 0.5907 MB / 475.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003299/0.002294, allocations: 40.95 kB / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.002319, allocations: 3.172 kB / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.002336, allocations: 0 / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.725e-06/0.002344, allocations: 0 / 475.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.002684, allocations: 29.06 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.00274, allocations: 2.031 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.002792, allocations: 2.625 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.002829, allocations: 0 / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.002866, allocations: 2.844 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.002881, allocations: 3.938 kB / 475.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.003013, allocations: 21.34 kB / 475.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.003029, allocations: 0.625 kB / 475.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.003061, allocations: 0.7812 kB / 475.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.003182, allocations: 19.98 kB / 475.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.003187, allocations: 3.312 kB / 475.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.003188, allocations: 0 / 475.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.003194, allocations: 1.688 kB / 475.2 MB, free: 14.77 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.0003797/0.003573, allocations: 339 kB / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.003628, allocations: 10.5 kB / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.003947, allocations: 15.47 kB / 475.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.004037, allocations: 111.8 kB / 475.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.004053, allocations: 384 / 475.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.004064, allocations: 384 / 475.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.004202, allocations: 33.27 kB / 475.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.004214, allocations: 192 / 475.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.004228, allocations: 8.062 kB / 475.7 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.004234, allocations: 384 / 475.7 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.807e-05/0.004302, allocations: 10.56 kB / 475.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.004443, allocations: 111.5 kB / 475.9 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.004524, allocations: 25.69 kB / 475.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.004565, allocations: 11.38 kB / 475.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.004591, allocations: 0 / 475.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.004616, allocations: 36.02 kB / 475.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.004617, allocations: 0.6562 kB / 475.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002312/0.004848, allocations: 48.89 kB / 476 MB, free: 13.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.004879, allocations: 52.28 kB / 476 MB, free: 13.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.923e-05/0.004928, allocations: 144.9 kB / 476.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.004939, allocations: 29.14 kB / 476.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.004967, allocations: 126.9 kB / 476.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.00501, allocations: 3.953 kB / 476.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.005042, allocations: 21.94 kB / 476.3 MB, free: 13.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005974/0.005639, allocations: 0.4883 MB / 476.8 MB, free: 29.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.00568, allocations: 6 kB / 476.8 MB, free: 29.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.005704, allocations: 2.625 kB / 476.8 MB, free: 29.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.864e-05/0.005773, allocations: 16.88 kB / 476.9 MB, free: 29.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005775, allocations: 0.6562 kB / 476.9 MB, free: 29.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001009/0.005876, allocations: 37.72 kB / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.005893, allocations: 7.75 kB / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.005899, allocations: 0.8125 kB / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.005918, allocations: 0 / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.005991, allocations: 7.609 kB / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.005997, allocations: 0 / 476.9 MB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.006023, allocations: 10.56 kB / 476.9 MB, free: 29.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.006031, allocations: 0 / 476.9 MB, free: 29.01 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 0.0001102/0.006141, allocations: 160.4 kB / 477.1 MB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/0.00615, allocations: 0 / 477.1 MB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.006188, allocations: 8.141 kB / 477.1 MB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.006191, allocations: 6.609 kB / 477.1 MB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006195, allocations: 0 / 477.1 MB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006198, allocations: 0 / 477.1 MB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.229e-05/0.006261, allocations: 108.6 kB / 477.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.006262, allocations: 5.375 kB / 477.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.006296, allocations: 7.078 kB / 477.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006297, allocations: 3.438 kB / 477.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.006305, allocations: 0 / 477.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006306, allocations: 0 / 477.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006307, allocations: 0 / 477.2 MB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.006426, allocations: 79.06 kB / 477.3 MB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-06/0.00643, allocations: 0 / 477.3 MB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.006443, allocations: 0.625 kB / 477.3 MB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.006467, allocations: 0 / 477.3 MB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.006491, allocations: 6.578 kB / 477.3 MB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.006494, allocations: 1.562 kB / 477.3 MB, free: 28.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.006572, allocations: 119.2 kB / 477.4 MB, free: 28.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006572, allocations: 0 / 477.4 MB, free: 28.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.006768, allocations: 2.625 kB / 477.4 MB, free: 28.49 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.0001419/0.00691, allocations: 102.2 kB / 477.5 MB, free: 28.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.007055, allocations: 22.27 kB / 477.5 MB, free: 28.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.007057, allocations: 0 / 477.5 MB, free: 28.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.007088, allocations: 10.31 kB / 477.6 MB, free: 28.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.007239, allocations: 7.625 kB / 477.6 MB, free: 28.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.007523, allocations: 88.38 kB / 477.6 MB, free: 28.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.007563, allocations: 57.36 kB / 477.7 MB, free: 28.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.007595, allocations: 5.031 kB / 477.7 MB, free: 28.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.007625, allocations: 10.06 kB / 477.7 MB, free: 28.19 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007626, allocations: 0 / 477.7 MB, free: 28.19 MB / 426.7 MB Notification: Performance of Templates: time 0.003099/0.01072, allocations: 256.7 kB / 478 MB, free: 28.14 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.41323696100153]