Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.001075/0.001075, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001678/0.001678, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9692/0.9692, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.5933/0.5933, allocations: 110.2 MB / 369.4 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.5473 GB, free: 8.77 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.666e-05, allocations: 6.219 kB / 0.5473 GB, free: 8.762 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002342/0.002369, allocations: 1.446 MB / 0.5487 GB, free: 7.301 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004022/0.002771, allocations: 184.3 kB / 0.5489 GB, free: 7.117 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.002815, allocations: 0 / 0.5489 GB, free: 7.117 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.002846, allocations: 0 / 0.5489 GB, free: 7.117 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.002898, allocations: 11.94 kB / 0.5489 GB, free: 7.105 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.003215, allocations: 39.83 kB / 0.5489 GB, free: 7.066 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.593e-05/0.00329, allocations: 27.86 kB / 0.5489 GB, free: 7.039 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003394, allocations: 7.984 kB / 0.5489 GB, free: 7.031 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.003455, allocations: 8 kB / 0.549 GB, free: 7.023 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.003492, allocations: 11.98 kB / 0.549 GB, free: 7.012 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.003508, allocations: 0 / 0.549 GB, free: 7.012 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.003601, allocations: 35.95 kB / 0.549 GB, free: 6.977 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.003618, allocations: 4 kB / 0.549 GB, free: 6.973 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.003639, allocations: 7.922 kB / 0.549 GB, free: 6.965 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.003846, allocations: 59.84 kB / 0.5491 GB, free: 6.906 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003848, allocations: 0 / 0.5491 GB, free: 6.906 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003849, allocations: 4 kB / 0.5491 GB, free: 6.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.003854, allocations: 0 / 0.5491 GB, free: 6.902 MB / 474.7 MB 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.0005033/0.004357, allocations: 272.7 kB / 0.5493 GB, free: 6.605 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.004397, allocations: 8.031 kB / 0.5493 GB, free: 6.598 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.004429, allocations: 30.75 kB / 0.5494 GB, free: 6.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.004454, allocations: 12.83 kB / 0.5494 GB, free: 6.547 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.619e-05/0.00453, allocations: 109.7 kB / 0.5495 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.004541, allocations: 384 / 0.5495 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.004549, allocations: 8.375 kB / 0.5495 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.004671, allocations: 50.23 kB / 0.5495 GB, free: 6.352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004678, allocations: 192 / 0.5495 GB, free: 6.352 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004686, allocations: 384 / 0.5495 GB, free: 6.352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004692, allocations: 4.125 kB / 0.5495 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.004781, allocations: 35.95 kB / 0.5496 GB, free: 6.312 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.005079, allocations: 223.9 kB / 0.5498 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/0.005167, allocations: 42.48 kB / 0.5498 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.005212, allocations: 24.91 kB / 0.5499 GB, free: 5.973 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.005269, allocations: 3.984 kB / 0.5499 GB, free: 5.969 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.005289, allocations: 38.5 kB / 0.5499 GB, free: 5.922 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.00529, allocations: 0 / 0.5499 GB, free: 5.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.00551, allocations: 85.59 kB / 0.55 GB, free: 5.832 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.005542, allocations: 55.47 kB / 0.55 GB, free: 5.766 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.005604, allocations: 101.9 kB / 0.5501 GB, free: 5.656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.005614, allocations: 29.7 kB / 0.5502 GB, free: 5.621 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.005652, allocations: 88.12 kB / 0.5502 GB, free: 5.531 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.005668, allocations: 3.953 kB / 0.5502 GB, free: 5.527 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.005691, allocations: 13.72 kB / 0.5503 GB, free: 5.508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.005771, allocations: 314.8 kB / 0.5506 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.005813, allocations: 15.98 kB / 0.5506 GB, free: 5.176 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.00585, allocations: 19.97 kB / 0.5506 GB, free: 5.156 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.005932, allocations: 40.89 kB / 0.5506 GB, free: 5.113 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005933, allocations: 0 / 0.5506 GB, free: 5.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/0.006041, allocations: 69.59 kB / 0.5507 GB, free: 5.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.006054, allocations: 9.969 kB / 0.5507 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.00606, allocations: 0 / 0.5507 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.006077, allocations: 0 / 0.5507 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.00629, allocations: 16.02 kB / 0.5507 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.006295, allocations: 0 / 0.5507 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.006318, allocations: 4 kB / 0.5507 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.006323, allocations: 0 / 0.5507 GB, free: 5.012 MB / 474.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 (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 5.578e-05/0.006379, allocations: 113.8 kB / 0.5508 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.006394, allocations: 7.938 kB / 0.5508 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.006534, allocations: 64.97 kB / 0.5509 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006537, allocations: 4 kB / 0.5509 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.006542, allocations: 4.031 kB / 0.5509 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006545, allocations: 0 / 0.5509 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.006646, allocations: 124.8 kB / 0.551 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006647, allocations: 3.938 kB / 0.551 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.006673, allocations: 16.23 kB / 0.5511 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.006675, allocations: 11.81 kB / 0.5511 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.006683, allocations: 4 kB / 0.5511 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006684, allocations: 0 / 0.5511 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006685, allocations: 0 / 0.5511 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.006825, allocations: 163.5 kB / 0.5512 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.006831, allocations: 7.938 kB / 0.5512 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006841, allocations: 0 / 0.5512 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.006878, allocations: 7.984 kB / 0.5512 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.006914, allocations: 4 kB / 0.5512 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.006916, allocations: 0 / 0.5512 GB, free: 4.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.878e-05/0.006945, allocations: 83.28 kB / 0.5513 GB, free: 4.328 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006945, allocations: 0 / 0.5513 GB, free: 4.328 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.00711, allocations: 8 kB / 0.5513 GB, free: 4.32 MB / 474.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 (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 0.0003627/0.007473, allocations: 0.7162 MB / 0.552 GB, free: 3.578 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.007595, allocations: 31.97 kB / 0.5521 GB, free: 3.547 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007596, allocations: 0 / 0.5521 GB, free: 3.547 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.007637, allocations: 23.97 kB / 0.5521 GB, free: 3.523 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.007854, allocations: 8.156 kB / 0.5521 GB, free: 3.516 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.008168, allocations: 134.5 kB / 0.5522 GB, free: 3.344 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.008209, allocations: 67.33 kB / 0.5523 GB, free: 3.258 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.752e-05/0.008227, allocations: 0 / 0.5523 GB, free: 3.258 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.008254, allocations: 8.5 kB / 0.5523 GB, free: 3.25 MB / 474.7 MB Notification: Performance of SimCode: time 3.01e-07/0.008255, allocations: 4 kB / 0.5523 GB, free: 3.246 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.02387, allocations: 2.109 MB / 0.5544 GB, free: 1.266 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.03, allocations: 8.703 kB / 0.5544 GB, free: 1.262 MB / 474.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential_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_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.72325799241662] Failed to read output from testmodel.py, exit status != 0: 7.112222161144018 7.120172604 7.114601941 Calling exit ...