Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.000794/0.000794, 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.001028/0.001028, 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.9164/0.9164, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.5493/0.5493, allocations: 110.2 MB / 369.4 MB, free: 12.63 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.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.5473 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.097e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002516/0.002537, allocations: 1.462 MB / 0.5487 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006364/0.003173, allocations: 467.7 kB / 0.5491 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.003208, allocations: 4 kB / 0.5492 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.003235, allocations: 0 / 0.5492 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.003297, allocations: 15.86 kB / 0.5492 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.003506, allocations: 15.92 kB / 0.5492 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.003581, allocations: 27.88 kB / 0.5492 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.003679, allocations: 15.97 kB / 0.5492 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.003749, allocations: 15.92 kB / 0.5492 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.00378, allocations: 4 kB / 0.5492 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.003792, allocations: 0 / 0.5492 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.003848, allocations: 15.98 kB / 0.5493 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.003863, allocations: 8 kB / 0.5493 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.003881, allocations: 7.938 kB / 0.5493 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.003983, allocations: 35.94 kB / 0.5493 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003985, allocations: 0 / 0.5493 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003986, allocations: 0 / 0.5493 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003991, allocations: 0 / 0.5493 GB, free: 7.727 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003267/0.004317, allocations: 270.3 kB / 0.5496 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004354, allocations: 8.031 kB / 0.5496 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.004381, allocations: 30.75 kB / 0.5496 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.004405, allocations: 12.89 kB / 0.5496 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/0.004485, allocations: 117.7 kB / 0.5497 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.0045, allocations: 4.375 kB / 0.5497 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.004509, allocations: 384 / 0.5497 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.004639, allocations: 50.23 kB / 0.5498 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004645, allocations: 192 / 0.5498 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004654, allocations: 4.125 kB / 0.5498 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.004658, allocations: 3.938 kB / 0.5498 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.004744, allocations: 31.97 kB / 0.5498 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.005006, allocations: 216.1 kB / 0.55 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.005085, allocations: 38.5 kB / 0.5501 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.005136, allocations: 40.81 kB / 0.5501 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-05/0.005212, allocations: 7.938 kB / 0.5501 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.005229, allocations: 30.56 kB / 0.5501 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.00523, allocations: 0 / 0.5501 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002144/0.005445, allocations: 89.59 kB / 0.5502 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.005479, allocations: 55.34 kB / 0.5503 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.005537, allocations: 109.8 kB / 0.5504 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.005545, allocations: 25.7 kB / 0.5504 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.005576, allocations: 80.14 kB / 0.5505 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.005591, allocations: 7.953 kB / 0.5505 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.005616, allocations: 13.72 kB / 0.5505 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.005694, allocations: 318.8 kB / 0.5508 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.005733, allocations: 16.11 kB / 0.5508 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.005768, allocations: 15.98 kB / 0.5508 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.005844, allocations: 36.83 kB / 0.5509 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.005847, allocations: 3.984 kB / 0.5509 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.00595, allocations: 69.61 kB / 0.5509 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.005963, allocations: 10.06 kB / 0.551 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005968, allocations: 4 kB / 0.551 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.005982, allocations: 4 kB / 0.551 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.006043, allocations: 7.984 kB / 0.551 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006048, allocations: 0 / 0.551 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.00607, allocations: 7.984 kB / 0.551 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.006074, allocations: 0 / 0.551 GB, free: 5.828 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 (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.44e-05/0.006129, allocations: 109.8 kB / 0.5511 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.006142, allocations: 3.938 kB / 0.5511 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.006281, allocations: 84.91 kB / 0.5512 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006283, allocations: 0 / 0.5512 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006287, allocations: 0 / 0.5512 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00629, allocations: 0 / 0.5512 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.006401, allocations: 128.8 kB / 0.5513 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.006403, allocations: 3.938 kB / 0.5513 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.006429, allocations: 7.984 kB / 0.5513 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006431, allocations: 3.938 kB / 0.5513 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.006436, allocations: 0 / 0.5513 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.006439, allocations: 8.031 kB / 0.5513 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006439, allocations: 3.938 kB / 0.5513 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006565, allocations: 159.5 kB / 0.5515 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.006572, allocations: 7.875 kB / 0.5515 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.006582, allocations: 0 / 0.5515 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.006619, allocations: 7.984 kB / 0.5515 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.006653, allocations: 4.25 kB / 0.5515 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.006656, allocations: 0 / 0.5515 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.006692, allocations: 95.3 kB / 0.5516 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006692, allocations: 0 / 0.5516 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001628/0.006855, allocations: 7.938 kB / 0.5516 GB, free: 5.129 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 (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.0003555/0.00721, allocations: 0.7084 MB / 0.5523 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.007336, allocations: 35.95 kB / 0.5523 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007338, allocations: 8.094 kB / 0.5523 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.00738, allocations: 11.98 kB / 0.5523 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.007609, allocations: 11.94 kB / 0.5523 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.007929, allocations: 146.3 kB / 0.5525 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.007967, allocations: 55.36 kB / 0.5525 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.007988, allocations: 3.984 kB / 0.5525 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.008017, allocations: 16.5 kB / 0.5526 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.008017, allocations: 4.062 kB / 0.5526 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02386, allocations: 2.104 MB / 0.5546 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.842, allocations: 3.609 kB / 0.5546 GB, free: 2.09 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside_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_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.430059170350432] Failed to read output from testmodel.py, exit status != 0: 6.920609467662871 6.930168261 6.924419143 Calling exit ...