Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0007391/0.0007391, 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.0008346/0.0008346, 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.9101/0.9101, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.5593/0.5593, allocations: 110.2 MB / 369.4 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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5473 GB, free: 8.668 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.245e-05, allocations: 2.781 kB / 0.5473 GB, free: 8.664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001257/0.001279, allocations: 0.5761 MB / 0.5479 GB, free: 8.094 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002422, allocations: 1.136 MB / 0.549 GB, free: 6.941 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.002451, allocations: 0 / 0.549 GB, free: 6.941 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.002468, allocations: 3.938 kB / 0.549 GB, free: 6.938 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.002702, allocations: 23.86 kB / 0.549 GB, free: 6.914 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.002706, allocations: 0 / 0.549 GB, free: 6.914 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 3.942e-05/0.002745, allocations: 0 / 0.549 GB, free: 6.914 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.002789, allocations: 11.98 kB / 0.5491 GB, free: 6.902 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.002815, allocations: 7.938 kB / 0.5491 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.172e-05/0.002836, allocations: 0 / 0.5491 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-06/0.002846, allocations: 0 / 0.5491 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.002942, allocations: 15.98 kB / 0.5491 GB, free: 6.879 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.002951, allocations: 0 / 0.5491 GB, free: 6.879 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.243e-05/0.002964, allocations: 4 kB / 0.5491 GB, free: 6.875 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 7.247e-05/0.003036, allocations: 15.91 kB / 0.5491 GB, free: 6.859 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003037, allocations: 0 / 0.5491 GB, free: 6.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003038, allocations: 0 / 0.5491 GB, free: 6.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.003042, allocations: 0 / 0.5491 GB, free: 6.859 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.0002106/0.003252, allocations: 249 kB / 0.5493 GB, free: 6.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.003291, allocations: 12.62 kB / 0.5493 GB, free: 6.578 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.618e-05/0.003317, allocations: 34.69 kB / 0.5494 GB, free: 6.535 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.00334, allocations: 4.891 kB / 0.5494 GB, free: 6.531 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.146e-05/0.003401, allocations: 109.7 kB / 0.5495 GB, free: 6.398 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.003411, allocations: 384 / 0.5495 GB, free: 6.398 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.003432, allocations: 384 / 0.5495 GB, free: 6.398 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.003771, allocations: 38.25 kB / 0.5495 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.003781, allocations: 192 / 0.5495 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.00379, allocations: 8.125 kB / 0.5495 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003794, allocations: 0 / 0.5495 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.00383, allocations: 7.984 kB / 0.5495 GB, free: 6.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.003938, allocations: 128.8 kB / 0.5497 GB, free: 6.172 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.004097, allocations: 38.53 kB / 0.5497 GB, free: 6.125 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.004112, allocations: 8.859 kB / 0.5497 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.993e-05/0.004202, allocations: 4 kB / 0.5497 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.004218, allocations: 38.64 kB / 0.5497 GB, free: 6.062 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.004219, allocations: 0 / 0.5497 GB, free: 6.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.00197/0.006189, allocations: 0.5676 MB / 0.5503 GB, free: 5.488 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.006219, allocations: 55.39 kB / 0.5504 GB, free: 5.422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.41e-05/0.006243, allocations: 93.86 kB / 0.5504 GB, free: 5.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.006257, allocations: 29.7 kB / 0.5505 GB, free: 5.285 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.006274, allocations: 80.14 kB / 0.5505 GB, free: 5.203 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.006307, allocations: 15.86 kB / 0.5506 GB, free: 5.188 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.006347, allocations: 17.72 kB / 0.5506 GB, free: 5.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.006422, allocations: 318.8 kB / 0.5509 GB, free: 4.844 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.00668, allocations: 87.89 kB / 0.551 GB, free: 4.758 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.006938, allocations: 98.53 kB / 0.5511 GB, free: 4.652 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.007505, allocations: 194.4 kB / 0.5512 GB, free: 4.453 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.007507, allocations: 0 / 0.5512 GB, free: 4.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005636/0.008071, allocations: 209.6 kB / 0.5514 GB, free: 4.242 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.008085, allocations: 12.06 kB / 0.5515 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.008092, allocations: 7.922 kB / 0.5515 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.008105, allocations: 0 / 0.5515 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.008315, allocations: 55.97 kB / 0.5515 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.008322, allocations: 3.938 kB / 0.5515 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.008461, allocations: 39.98 kB / 0.5516 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.008471, allocations: 3.984 kB / 0.5516 GB, free: 4.121 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.401e-05/0.008535, allocations: 109.8 kB / 0.5517 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.008546, allocations: 0 / 0.5517 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.009158, allocations: 241.1 kB / 0.5519 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.009159, allocations: 0 / 0.5519 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.009164, allocations: 4 kB / 0.5519 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.009167, allocations: 0 / 0.5519 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.009953, allocations: 429.4 kB / 0.5523 GB, free: 3.289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009954, allocations: 0 / 0.5523 GB, free: 3.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.01011, allocations: 52.28 kB / 0.5524 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01011, allocations: 0 / 0.5524 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01012, allocations: 4 kB / 0.5524 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01012, allocations: 0 / 0.5524 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01012, allocations: 0 / 0.5524 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.01067, allocations: 311.3 kB / 0.5527 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.01068, allocations: 4 kB / 0.5527 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.01069, allocations: 0 / 0.5527 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.01084, allocations: 43.97 kB / 0.5527 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.01085, allocations: 4 kB / 0.5527 GB, free: 2.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.01086, allocations: 0 / 0.5527 GB, free: 2.863 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.01088, allocations: 79.27 kB / 0.5528 GB, free: 2.785 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01088, allocations: 0 / 0.5528 GB, free: 2.785 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.01105, allocations: 15.94 kB / 0.5528 GB, free: 2.77 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 (5): * Single equations (assignments): 5 * 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.0007946/0.01185, allocations: 0.8412 MB / 0.5536 GB, free: 1.902 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.01239, allocations: 183.9 kB / 0.5538 GB, free: 1.723 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.0124, allocations: 0 / 0.5538 GB, free: 1.723 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.01264, allocations: 96 kB / 0.5539 GB, free: 1.629 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.01279, allocations: 4 kB / 0.5539 GB, free: 1.625 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.01373, allocations: 246.6 kB / 0.5541 GB, free: 1.344 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.01376, allocations: 59.34 kB / 0.5542 GB, free: 1.266 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.01387, allocations: 28 kB / 0.5542 GB, free: 1.238 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.01392, allocations: 16.5 kB / 0.5542 GB, free: 1.219 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01392, allocations: 0 / 0.5542 GB, free: 1.219 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.03038, allocations: 2.29 MB / 0.5565 GB, free: 15.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.717, allocations: 4.984 kB / 0.5565 GB, free: 15.09 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.298666222020984] Failed to read output from testmodel.py, exit status != 0: 6.797833112068474 6.806564639 6.801736062 Calling exit ...