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.0007757/0.0007757, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008183/0.0008183, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8674/0.8674, allocations: 177.1 MB / 202.8 MB, free: 5.555 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.5345/0.5345, allocations: 110.3 MB / 369.4 MB, free: 12.54 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5473 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.259e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001701/0.001713, allocations: 1.484 MB / 0.5487 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.002009, allocations: 140.3 kB / 0.5489 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.00204, allocations: 0 / 0.5489 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.002078, allocations: 7.938 kB / 0.5489 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.002138, allocations: 4 kB / 0.5489 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.00235, allocations: 31.84 kB / 0.5489 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.002433, allocations: 47.83 kB / 0.5489 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.002531, allocations: 8 kB / 0.549 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.00258, allocations: 31.91 kB / 0.549 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.002613, allocations: 11.98 kB / 0.549 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.002628, allocations: 4 kB / 0.549 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.002697, allocations: 31.97 kB / 0.549 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.002714, allocations: 15.92 kB / 0.549 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.002733, allocations: 8 kB / 0.5491 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.002851, allocations: 75.77 kB / 0.5491 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002853, allocations: 3.938 kB / 0.5491 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002854, allocations: 0 / 0.5491 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002857, allocations: 0 / 0.5491 GB, free: 7.895 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.000327/0.003184, allocations: 286.1 kB / 0.5494 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.003222, allocations: 8.625 kB / 0.5494 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.003251, allocations: 42.73 kB / 0.5495 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.003785, allocations: 208.5 kB / 0.5497 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.338e-05/0.003858, allocations: 117.8 kB / 0.5498 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.003869, allocations: 4.375 kB / 0.5498 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.003881, allocations: 4.375 kB / 0.5498 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.004205, allocations: 202 kB / 0.55 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004211, allocations: 192 / 0.55 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.004224, allocations: 384 / 0.55 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.00423, allocations: 4.125 kB / 0.55 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.004647, allocations: 279.5 kB / 0.5502 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.005209, allocations: 384.5 kB / 0.5506 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.006015, allocations: 294.1 kB / 0.5509 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.006202, allocations: 104.7 kB / 0.551 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.006225, allocations: 0 / 0.551 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.006244, allocations: 30.56 kB / 0.551 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006245, allocations: 0 / 0.551 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000606/0.006851, allocations: 317.4 kB / 0.5513 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.006882, allocations: 55.39 kB / 0.5514 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.00695, allocations: 117.8 kB / 0.5515 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006961, allocations: 29.7 kB / 0.5515 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.006997, allocations: 88.08 kB / 0.5516 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.007016, allocations: 15.91 kB / 0.5516 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.007062, allocations: 21.64 kB / 0.5516 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.007137, allocations: 314.8 kB / 0.5519 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.00731, allocations: 95.86 kB / 0.552 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.007474, allocations: 103.9 kB / 0.5521 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.007788, allocations: 172.6 kB / 0.5523 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00779, allocations: 0 / 0.5523 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003628/0.008153, allocations: 213.5 kB / 0.5525 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.008165, allocations: 4 kB / 0.5525 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.00817, allocations: 0 / 0.5525 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008182, allocations: 0 / 0.5525 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.008308, allocations: 43.88 kB / 0.5525 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.008313, allocations: 0 / 0.5525 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.008394, allocations: 31.91 kB / 0.5526 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.008403, allocations: 4 kB / 0.5526 GB, free: 4.176 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 6.01e-05/0.008463, allocations: 117.8 kB / 0.5527 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.008479, allocations: 4 kB / 0.5527 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.008515, allocations: 12 kB / 0.5527 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008517, allocations: 0 / 0.5527 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.008521, allocations: 4 kB / 0.5527 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.008524, allocations: 0 / 0.5527 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.008659, allocations: 172.6 kB / 0.5529 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.008661, allocations: 4.359 kB / 0.5529 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.066e-05/0.008752, allocations: 31.95 kB / 0.5529 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008753, allocations: 0 / 0.5529 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008762, allocations: 0 / 0.5529 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.008762, allocations: 3.938 kB / 0.5529 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008763, allocations: 0 / 0.5529 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.009162, allocations: 327.1 kB / 0.5532 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.009172, allocations: 4 kB / 0.5532 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.009186, allocations: 4 kB / 0.5532 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.009289, allocations: 31.95 kB / 0.5533 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.009322, allocations: 7.984 kB / 0.5533 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.009327, allocations: 0 / 0.5533 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.009366, allocations: 95.27 kB / 0.5534 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.009366, allocations: 0 / 0.5534 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001538/0.009519, allocations: 15.95 kB / 0.5534 GB, free: 3.281 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 0.0005665/0.01009, allocations: 0.8372 MB / 0.5542 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.01046, allocations: 195.7 kB / 0.5544 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01047, allocations: 8 kB / 0.5544 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.01063, allocations: 96.2 kB / 0.5545 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.01082, allocations: 11.94 kB / 0.5545 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.01266, allocations: 1.849 MB / 0.5563 GB, free: 188 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.01271, allocations: 75.33 kB / 0.5564 GB, free: 92 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.833e-05/0.01275, allocations: 19.98 kB / 0.5564 GB, free: 72 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.01281, allocations: 20.48 kB / 0.5564 GB, free: 52 kB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.01281, allocations: 0 / 0.5564 GB, free: 52 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02771, allocations: 2.683 MB / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.781, allocations: 4.812 kB / 0.559 GB, free: 13.52 MB / 0.5261 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.194669269025326] Failed to read output from testmodel.py, exit status != 0: 6.862652774900198 6.871826009 6.867097459 Calling exit ...