Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.0007463/0.0007463, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007588/0.0007588, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8243/0.8243, allocations: 177.2 MB / 203.5 MB, free: 5.727 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.5087/0.5087, allocations: 110.2 MB / 370.2 MB, free: 12.61 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5485 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.923e-05, allocations: 9.453 kB / 0.5485 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001723/0.001742, allocations: 1.455 MB / 0.5499 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.002445, allocations: 475.6 kB / 0.5504 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.002491, allocations: 0 / 0.5504 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.002523, allocations: 0 / 0.5504 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.002604, allocations: 15.88 kB / 0.5504 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.002865, allocations: 15.98 kB / 0.5504 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.984e-05/0.002955, allocations: 23.92 kB / 0.5504 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.003092, allocations: 11.98 kB / 0.5505 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.003181, allocations: 19.86 kB / 0.5505 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.803e-05/0.003219, allocations: 4 kB / 0.5505 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003236, allocations: 0 / 0.5505 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.003307, allocations: 15.98 kB / 0.5505 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.003323, allocations: 4 kB / 0.5505 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.003344, allocations: 15.86 kB / 0.5505 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.003463, allocations: 39.89 kB / 0.5505 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003465, allocations: 0 / 0.5505 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003466, allocations: 0 / 0.5505 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.00347, allocations: 0 / 0.5505 GB, free: 7.223 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007767/0.004247, allocations: 270.3 kB / 0.5508 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.004297, allocations: 8.031 kB / 0.5508 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.004335, allocations: 12.88 kB / 0.5508 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.004434, allocations: 101.8 kB / 0.5509 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.004447, allocations: 384 / 0.5509 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004459, allocations: 8.375 kB / 0.5509 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.004606, allocations: 58.17 kB / 0.551 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004616, allocations: 192 / 0.551 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.004625, allocations: 384 / 0.551 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.004632, allocations: 7.875 kB / 0.551 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.00472, allocations: 31.97 kB / 0.551 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.004964, allocations: 196.6 kB / 0.5512 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.386e-05/0.005038, allocations: 34.56 kB / 0.5512 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.00508, allocations: 32.83 kB / 0.5513 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-05/0.005147, allocations: 4 kB / 0.5513 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.005166, allocations: 42.5 kB / 0.5513 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.005167, allocations: 0 / 0.5513 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.005381, allocations: 81.59 kB / 0.5514 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.00541, allocations: 51.41 kB / 0.5514 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.251e-05/0.005463, allocations: 110 kB / 0.5516 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.005471, allocations: 25.7 kB / 0.5516 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.0055, allocations: 84.14 kB / 0.5517 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.005516, allocations: 3.953 kB / 0.5517 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.005538, allocations: 13.72 kB / 0.5517 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.005606, allocations: 318.8 kB / 0.552 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.005644, allocations: 19.92 kB / 0.552 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.005677, allocations: 15.98 kB / 0.552 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.005749, allocations: 40.89 kB / 0.5521 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005751, allocations: 0 / 0.5521 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.505e-05/0.005846, allocations: 65.66 kB / 0.5521 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.005859, allocations: 7.938 kB / 0.5521 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005863, allocations: 0 / 0.5521 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.005873, allocations: 0 / 0.5521 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.005928, allocations: 11.98 kB / 0.5521 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.005933, allocations: 4.031 kB / 0.5521 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.005954, allocations: 11.92 kB / 0.5522 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.005958, allocations: 0 / 0.5522 GB, free: 5.41 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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.587e-05/0.006004, allocations: 121.7 kB / 0.5523 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.006015, allocations: 3.938 kB / 0.5523 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.006136, allocations: 76.95 kB / 0.5523 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006137, allocations: 0 / 0.5523 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.006141, allocations: 4.031 kB / 0.5523 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.006143, allocations: 0 / 0.5523 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.109e-05/0.006224, allocations: 105.3 kB / 0.5524 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006225, allocations: 3.938 kB / 0.5525 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.006247, allocations: 11.98 kB / 0.5525 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.006248, allocations: 0 / 0.5525 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.006255, allocations: 7.938 kB / 0.5525 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006256, allocations: 0 / 0.5525 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006257, allocations: 3.984 kB / 0.5525 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.00637, allocations: 163.5 kB / 0.5526 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-06/0.006374, allocations: 4 kB / 0.5526 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.006383, allocations: 4.188 kB / 0.5526 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.006419, allocations: 11.98 kB / 0.5526 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.006448, allocations: 0 / 0.5526 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.006451, allocations: 4 kB / 0.5527 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.572e-05/0.006477, allocations: 87.27 kB / 0.5527 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006477, allocations: 0 / 0.5527 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001408/0.006617, allocations: 4 kB / 0.5527 GB, free: 4.742 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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 9.784e-05/0.006715, allocations: 107.2 kB / 0.5528 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.006835, allocations: 47.89 kB / 0.5529 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006837, allocations: 0 / 0.5529 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.006878, allocations: 11.98 kB / 0.5529 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.007061, allocations: 4 kB / 0.5529 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.007278, allocations: 138.5 kB / 0.553 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.007315, allocations: 67.47 kB / 0.5531 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.007334, allocations: 8.5 kB / 0.5531 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.007335, allocations: 0 / 0.5531 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of Templates: time 0.001368/0.008702, allocations: 0.6649 MB / 0.5538 GB, free: 3.637 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.446481297723949] Failed to read output from testmodel.py, exit status != 0: 0.012481793761253357 0.021146004000000003 0.016185499000000002 Calling exit ...