Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.0007499/0.0007499, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007587/0.0007587, allocations: 177.9 kB / 23.22 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.8254/0.8254, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5079/0.5079, allocations: 110.2 MB / 370.2 MB, free: 12.62 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 0.5485 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.415e-05, allocations: 2.281 kB / 0.5485 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001638/0.001653, allocations: 1.481 MB / 0.55 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000284/0.001937, allocations: 140.3 kB / 0.5501 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.001966, allocations: 0 / 0.5501 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.002005, allocations: 3.938 kB / 0.5501 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.002063, allocations: 0 / 0.5501 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.002284, allocations: 35.89 kB / 0.5501 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.002372, allocations: 43.84 kB / 0.5502 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.00248, allocations: 8 kB / 0.5502 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.002528, allocations: 31.92 kB / 0.5502 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.002562, allocations: 19.95 kB / 0.5502 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.002576, allocations: 4 kB / 0.5502 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.002641, allocations: 23.98 kB / 0.5503 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.002656, allocations: 15.92 kB / 0.5503 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.002674, allocations: 11.94 kB / 0.5503 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.002792, allocations: 75.77 kB / 0.5504 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.002793, allocations: 0 / 0.5504 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002794, allocations: 3.938 kB / 0.5504 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002798, allocations: 0 / 0.5504 GB, free: 7.402 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003258/0.003123, allocations: 290.1 kB / 0.5506 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.003152, allocations: 8.031 kB / 0.5506 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005305/0.003683, allocations: 216.5 kB / 0.5508 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.814e-05/0.003761, allocations: 117.8 kB / 0.551 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.003772, allocations: 384 / 0.551 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.003786, allocations: 12.38 kB / 0.551 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.004093, allocations: 186 kB / 0.5512 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.0041, allocations: 4.125 kB / 0.5512 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.004113, allocations: 4.375 kB / 0.5512 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004117, allocations: 384 / 0.5512 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.00453, allocations: 283.5 kB / 0.5514 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.005034, allocations: 361.1 kB / 0.5518 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.005562, allocations: 294.2 kB / 0.5521 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.005729, allocations: 92.73 kB / 0.5521 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.005749, allocations: 15.92 kB / 0.5522 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.005769, allocations: 30.56 kB / 0.5522 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.00577, allocations: 0 / 0.5522 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005966/0.006366, allocations: 309.3 kB / 0.5525 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.006397, allocations: 55.41 kB / 0.5525 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.006479, allocations: 117.7 kB / 0.5526 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006491, allocations: 25.7 kB / 0.5527 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.006524, allocations: 84.14 kB / 0.5528 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.006543, allocations: 11.91 kB / 0.5528 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.006575, allocations: 17.7 kB / 0.5528 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.006674, allocations: 318.8 kB / 0.5531 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.006837, allocations: 95.88 kB / 0.5532 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.006994, allocations: 95.86 kB / 0.5533 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.007291, allocations: 168.6 kB / 0.5534 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007293, allocations: 0 / 0.5534 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003468/0.00764, allocations: 217.4 kB / 0.5536 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.00765, allocations: 4 kB / 0.5536 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.007655, allocations: 7.938 kB / 0.5536 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.007665, allocations: 0 / 0.5536 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.00778, allocations: 35.94 kB / 0.5537 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.007783, allocations: 0 / 0.5537 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.00786, allocations: 31.89 kB / 0.5537 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.007867, allocations: 0 / 0.5537 GB, free: 3.789 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 (3): * Single equations (assignments): 3 * 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 5.508e-05/0.007922, allocations: 117.8 kB / 0.5538 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.00794, allocations: 16.22 kB / 0.5538 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.007974, allocations: 8 kB / 0.5538 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007976, allocations: 11.92 kB / 0.5539 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.007981, allocations: 0 / 0.5539 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.007983, allocations: 0 / 0.5539 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.00816, allocations: 153.2 kB / 0.554 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008161, allocations: 0 / 0.554 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.008247, allocations: 31.94 kB / 0.554 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.00825, allocations: 3.938 kB / 0.554 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.008261, allocations: 8 kB / 0.554 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008262, allocations: 0 / 0.554 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.008263, allocations: 0 / 0.554 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.008633, allocations: 307.2 kB / 0.5543 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.008639, allocations: 7.953 kB / 0.5543 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.008654, allocations: 19.86 kB / 0.5544 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.008745, allocations: 23.95 kB / 0.5544 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.008773, allocations: 4 kB / 0.5544 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.008777, allocations: 0 / 0.5544 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.008805, allocations: 87.27 kB / 0.5545 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008805, allocations: 4 kB / 0.5545 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001449/0.00895, allocations: 12 kB / 0.5545 GB, free: 2.926 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 (3): * Single equations (assignments): 3 * 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 6.517e-05/0.009016, allocations: 99.23 kB / 0.5546 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.009383, allocations: 199.7 kB / 0.5548 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009385, allocations: 0 / 0.5548 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.009549, allocations: 99.81 kB / 0.5549 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.009707, allocations: 6.5 kB / 0.5549 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.01019, allocations: 286.2 kB / 0.5552 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.01024, allocations: 71.34 kB / 0.5552 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.01029, allocations: 16.48 kB / 0.5552 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.01029, allocations: 4 kB / 0.5552 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of Templates: time 0.001738/0.01202, allocations: 1.16 MB / 0.5564 GB, free: 0.9453 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5590362418442965] Failed to read output from testmodel.py, exit status != 0: 0.01620018482208252 0.023384072000000002 0.019038151 Calling exit ...