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.001042/0.001042, allocations: 75.69 kB / 19.25 MB, free: 0.6211 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.0009942/0.0009942, allocations: 166 kB / 22.56 MB, free: 1.961 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.9432/0.9432, allocations: 177.1 MB / 202.9 MB, free: 5.691 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.5624/0.5624, allocations: 110.2 MB / 369.6 MB, free: 12.59 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.342e-06/1.342e-06, allocations: 0 / 0.5475 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.613e-05, allocations: 5.094 kB / 0.5475 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001892/0.001908, allocations: 1.488 MB / 0.5489 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.002528, allocations: 132.5 kB / 0.5491 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.002568, allocations: 0 / 0.5491 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.002619, allocations: 3.938 kB / 0.5491 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.002692, allocations: 7.938 kB / 0.5491 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.00294, allocations: 39.77 kB / 0.5491 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.003038, allocations: 35.92 kB / 0.5491 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.003152, allocations: 15.98 kB / 0.5492 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.003214, allocations: 27.92 kB / 0.5492 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.003253, allocations: 15.97 kB / 0.5492 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003271, allocations: 4 kB / 0.5492 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.003342, allocations: 35.97 kB / 0.5492 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.003357, allocations: 7.938 kB / 0.5492 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.003377, allocations: 7.984 kB / 0.5493 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.003496, allocations: 75.78 kB / 0.5493 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003498, allocations: 0 / 0.5493 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003499, allocations: 0 / 0.5493 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.003503, allocations: 0 / 0.5493 GB, free: 7.84 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.0003288/0.003832, allocations: 290.1 kB / 0.5496 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.003869, allocations: 8.031 kB / 0.5496 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.003894, allocations: 38.75 kB / 0.5496 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.004549, allocations: 212.5 kB / 0.5498 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.898e-05/0.004638, allocations: 117.8 kB / 0.55 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.004651, allocations: 8.312 kB / 0.55 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.004666, allocations: 384 / 0.55 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.005002, allocations: 194 kB / 0.5502 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005009, allocations: 192 / 0.5502 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.00502, allocations: 384 / 0.5502 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.005026, allocations: 4.125 kB / 0.5502 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.005478, allocations: 283.6 kB / 0.5504 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.006063, allocations: 388.5 kB / 0.5508 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.006629, allocations: 290.1 kB / 0.5511 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.006811, allocations: 100.8 kB / 0.5512 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.006832, allocations: 3.938 kB / 0.5512 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.00685, allocations: 34.56 kB / 0.5512 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.006852, allocations: 4 kB / 0.5512 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0006218/0.007474, allocations: 313.2 kB / 0.5515 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.007507, allocations: 51.41 kB / 0.5516 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.00758, allocations: 121.8 kB / 0.5517 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.007595, allocations: 29.69 kB / 0.5517 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.007643, allocations: 92.08 kB / 0.5518 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.007665, allocations: 11.97 kB / 0.5518 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.007702, allocations: 21.7 kB / 0.5518 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.007786, allocations: 314.8 kB / 0.5521 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.007965, allocations: 95.88 kB / 0.5522 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.008158, allocations: 91.88 kB / 0.5523 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.00862, allocations: 180.6 kB / 0.5525 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.008624, allocations: 4 kB / 0.5525 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000393/0.009017, allocations: 213.4 kB / 0.5527 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.009031, allocations: 10.81 kB / 0.5527 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.009037, allocations: 0 / 0.5527 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.00905, allocations: 0 / 0.5527 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.00922, allocations: 35.95 kB / 0.5527 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.009225, allocations: 0 / 0.5527 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.009329, allocations: 35.89 kB / 0.5528 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.009338, allocations: 336 / 0.5528 GB, free: 4.121 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.927e-05/0.009407, allocations: 121.8 kB / 0.5529 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.009424, allocations: 4 kB / 0.5529 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.009466, allocations: 11.98 kB / 0.5529 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.00947, allocations: 3.984 kB / 0.5529 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.009474, allocations: 0 / 0.5529 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.009477, allocations: 0 / 0.5529 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.009621, allocations: 172.5 kB / 0.5531 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.009621, allocations: 0 / 0.5531 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.009723, allocations: 39.94 kB / 0.5531 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.009725, allocations: 3.938 kB / 0.5531 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.009735, allocations: 7.938 kB / 0.5531 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009737, allocations: 0 / 0.5531 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009737, allocations: 0 / 0.5531 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.01014, allocations: 311.2 kB / 0.5534 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.01015, allocations: 8 kB / 0.5534 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.01016, allocations: 3.984 kB / 0.5534 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.01026, allocations: 27.95 kB / 0.5534 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.0103, allocations: 0 / 0.5534 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.0103, allocations: 4 kB / 0.5535 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.01035, allocations: 91.27 kB / 0.5535 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 0 / 0.5535 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001591/0.01051, allocations: 19.95 kB / 0.5536 GB, free: 3.23 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.0005844/0.01109, allocations: 0.8411 MB / 0.5544 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.0115, allocations: 199.7 kB / 0.5546 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.0115, allocations: 0 / 0.5546 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.01168, allocations: 95.81 kB / 0.5547 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.01187, allocations: 11.94 kB / 0.5547 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.01403, allocations: 1.841 MB / 0.5565 GB, free: 144 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.01407, allocations: 71.33 kB / 0.5565 GB, free: 52 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.075e-05/0.01412, allocations: 19.98 kB / 0.5566 GB, free: 32 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.01418, allocations: 16.5 kB / 0.5566 GB, free: 16 kB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.01418, allocations: 0 / 0.5566 GB, free: 16 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.02879, allocations: 2.68 MB / 0.5592 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/6.662, allocations: 2.984 kB / 0.5592 GB, free: 13.47 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.346545728854835] Failed to read output from testmodel.py, exit status != 0: 6.74549097660929 6.754662675 6.749373371 Calling exit ...