Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.000816/0.000816, allocations: 79.69 kB / 19.25 MB, free: 0.6172 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.0009531/0.0009531, allocations: 162 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.9235/0.9235, allocations: 177.1 MB / 202.9 MB, free: 5.699 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.5418/0.5418, allocations: 110.2 MB / 369.6 MB, free: 12.6 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.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 3.984 kB / 0.5475 GB, free: 8.633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.31e-05, allocations: 9.094 kB / 0.5475 GB, free: 8.625 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002013/0.002036, allocations: 1.463 MB / 0.5489 GB, free: 7.145 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.002751, allocations: 0.5852 MB / 0.5495 GB, free: 6.551 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.002799, allocations: 4 kB / 0.5495 GB, free: 6.547 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.002818, allocations: 3.938 kB / 0.5495 GB, free: 6.543 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.438e-05/0.002852, allocations: 3.938 kB / 0.5495 GB, free: 6.539 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.003083, allocations: 55.81 kB / 0.5496 GB, free: 6.484 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.003158, allocations: 27.86 kB / 0.5496 GB, free: 6.457 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.134e-05/0.003229, allocations: 15.98 kB / 0.5496 GB, free: 6.441 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.003323, allocations: 31.8 kB / 0.5496 GB, free: 6.41 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.003364, allocations: 11.98 kB / 0.5496 GB, free: 6.398 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.003377, allocations: 4 kB / 0.5496 GB, free: 6.395 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.003462, allocations: 51.94 kB / 0.5497 GB, free: 6.344 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.003471, allocations: 4 kB / 0.5497 GB, free: 6.34 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.003485, allocations: 7.938 kB / 0.5497 GB, free: 6.332 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.003599, allocations: 87.75 kB / 0.5498 GB, free: 6.246 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003601, allocations: 0 / 0.5498 GB, free: 6.246 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003602, allocations: 0 / 0.5498 GB, free: 6.246 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.003607, allocations: 0 / 0.5498 GB, free: 6.246 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.0002735/0.003881, allocations: 282 kB / 0.5501 GB, free: 5.941 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.003912, allocations: 12.03 kB / 0.5501 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.003938, allocations: 34.75 kB / 0.5501 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.004035, allocations: 8.938 kB / 0.5501 GB, free: 5.879 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004159, allocations: 121.7 kB / 0.5502 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.004167, allocations: 384 / 0.5502 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.004175, allocations: 384 / 0.5502 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.004266, allocations: 54.16 kB / 0.5503 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.004273, allocations: 4.188 kB / 0.5503 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.004281, allocations: 4.125 kB / 0.5503 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.004284, allocations: 4 kB / 0.5503 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.004333, allocations: 19.98 kB / 0.5503 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.004554, allocations: 220 kB / 0.5505 GB, free: 5.387 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.004607, allocations: 26.58 kB / 0.5505 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.004635, allocations: 20.84 kB / 0.5506 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.004936, allocations: 103.8 kB / 0.5507 GB, free: 5.227 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.004953, allocations: 30.56 kB / 0.5507 GB, free: 5.188 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.004954, allocations: 0 / 0.5507 GB, free: 5.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.005113, allocations: 57.69 kB / 0.5507 GB, free: 5.125 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.00514, allocations: 51.41 kB / 0.5508 GB, free: 5.062 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.0052, allocations: 117.8 kB / 0.5509 GB, free: 4.938 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.00521, allocations: 25.7 kB / 0.5509 GB, free: 4.906 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.005243, allocations: 84.27 kB / 0.551 GB, free: 4.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.005256, allocations: 11.95 kB / 0.551 GB, free: 4.809 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.005276, allocations: 9.719 kB / 0.551 GB, free: 4.793 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.005361, allocations: 322.8 kB / 0.5513 GB, free: 4.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.005386, allocations: 11.94 kB / 0.5514 GB, free: 4.457 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.005406, allocations: 15.98 kB / 0.5514 GB, free: 4.441 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.00545, allocations: 24.84 kB / 0.5514 GB, free: 4.414 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.005451, allocations: 0 / 0.5514 GB, free: 4.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.936e-05/0.00554, allocations: 61.64 kB / 0.5515 GB, free: 4.348 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.005551, allocations: 7.938 kB / 0.5515 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005555, allocations: 0 / 0.5515 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005566, allocations: 4 kB / 0.5515 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.005612, allocations: 4 kB / 0.5515 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.005617, allocations: 3.984 kB / 0.5515 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.005631, allocations: 0 / 0.5515 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.005637, allocations: 7.938 kB / 0.5515 GB, free: 4.32 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.106e-05/0.005688, allocations: 109.8 kB / 0.5516 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.005702, allocations: 11.97 kB / 0.5516 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.005803, allocations: 57.3 kB / 0.5516 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.005805, allocations: 0 / 0.5516 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005808, allocations: 0 / 0.5516 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005812, allocations: 0 / 0.5516 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.005925, allocations: 132.8 kB / 0.5518 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005927, allocations: 3.938 kB / 0.5518 GB, free: 3.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.005945, allocations: 7.984 kB / 0.5518 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.005947, allocations: 0 / 0.5518 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005953, allocations: 0 / 0.5518 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005954, allocations: 4.031 kB / 0.5518 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005955, allocations: 4 kB / 0.5518 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.671e-05/0.006052, allocations: 151.4 kB / 0.5519 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.006059, allocations: 7.938 kB / 0.5519 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-06/0.006067, allocations: 0 / 0.5519 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.006095, allocations: 0 / 0.5519 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.006123, allocations: 8 kB / 0.552 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.006125, allocations: 0 / 0.552 GB, free: 3.758 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.006161, allocations: 91.27 kB / 0.552 GB, free: 3.668 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006161, allocations: 0 / 0.552 GB, free: 3.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.006336, allocations: 19.97 kB / 0.5521 GB, free: 3.648 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.0003388/0.006674, allocations: 0.7083 MB / 0.5528 GB, free: 2.914 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.967e-05/0.006754, allocations: 19.98 kB / 0.5528 GB, free: 2.895 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006755, allocations: 0 / 0.5528 GB, free: 2.895 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.006777, allocations: 15.92 kB / 0.5528 GB, free: 2.879 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.006928, allocations: 6.5 kB / 0.5528 GB, free: 2.875 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.007721, allocations: 1.261 MB / 0.554 GB, free: 1.531 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.007764, allocations: 67.28 kB / 0.5541 GB, free: 1.445 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.841e-05/0.007782, allocations: 0 / 0.5541 GB, free: 1.445 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.007812, allocations: 16.5 kB / 0.5541 GB, free: 1.43 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007813, allocations: 0 / 0.5541 GB, free: 1.43 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.02411, allocations: 2.305 MB / 0.5564 GB, free: 15.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/6.852, allocations: 7.188 kB / 0.5564 GB, free: 15.24 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.400655886158347] Failed to read output from testmodel.py, exit status != 0: 6.933629123494029 6.942961381 6.937690442 Calling exit ...