Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009718/0.0009718, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001009/0.001009, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8475/0.8475, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001397/0.001397, allocations: 240.6 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6592/0.6592, allocations: 138.4 MB / 454.3 MB, free: 30.09 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.377e-06/1.061e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001548/0.001558, allocations: 1.479 MB / 0.6477 GB, free: 380 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2453/0.2469, allocations: 459.5 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.247, allocations: 4.656 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.082e-05/0.247, allocations: 1.781 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2471, allocations: 4.5 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.2474, allocations: 25.14 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2475, allocations: 24.52 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2477, allocations: 7.031 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2478, allocations: 16.33 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.2478, allocations: 9.406 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.2479, allocations: 2.031 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.2479, allocations: 17.02 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.248, allocations: 7.484 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.248, allocations: 9.516 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.2482, allocations: 33.53 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2482, allocations: 4.812 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2482, allocations: 3.719 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2482, allocations: 2.016 kB / 0.6483 GB, free: 55.93 MB / 0.5573 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.0004508/0.2486, allocations: 265.7 kB / 0.6486 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.2487, allocations: 12.97 kB / 0.6486 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.2487, allocations: 32.98 kB / 0.6486 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.2488, allocations: 3.281 kB / 0.6486 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.489e-05/0.2488, allocations: 107.5 kB / 0.6487 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2489, allocations: 2.562 kB / 0.6488 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2489, allocations: 2.562 kB / 0.6488 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.249, allocations: 49.69 kB / 0.6488 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.249, allocations: 2.188 kB / 0.6488 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2491, allocations: 4.125 kB / 0.6488 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2491, allocations: 0.7188 kB / 0.6488 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2492, allocations: 36.89 kB / 0.6488 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.2495, allocations: 222.4 kB / 0.6491 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2496, allocations: 36.45 kB / 0.6491 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.2497, allocations: 30.19 kB / 0.6491 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2498, allocations: 6.984 kB / 0.6491 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.2498, allocations: 33.44 kB / 0.6492 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.846e-06/0.2498, allocations: 0.6562 kB / 0.6492 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002976/0.2501, allocations: 83.16 kB / 0.6492 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.2501, allocations: 55.53 kB / 0.6493 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.2502, allocations: 102.4 kB / 0.6494 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2502, allocations: 27.89 kB / 0.6494 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.2503, allocations: 85.22 kB / 0.6495 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.2503, allocations: 6.094 kB / 0.6495 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.2503, allocations: 14.77 kB / 0.6495 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.2503, allocations: 314.2 kB / 0.6498 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.2504, allocations: 17.97 kB / 0.6498 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.693e-05/0.2505, allocations: 19.64 kB / 0.6499 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.2506, allocations: 37.95 kB / 0.6499 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.2506, allocations: 0.625 kB / 0.6499 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001468/0.2508, allocations: 77.23 kB / 0.65 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2508, allocations: 8.531 kB / 0.65 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2508, allocations: 1.266 kB / 0.65 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2508, allocations: 0 / 0.65 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.2509, allocations: 12.56 kB / 0.65 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.2509, allocations: 1.547 kB / 0.65 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.2509, allocations: 7.141 kB / 0.65 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.2509, allocations: 1.5 kB / 0.65 GB, free: 54.48 MB / 0.5573 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 4.607e-05/0.251, allocations: 110.9 kB / 0.6501 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.251, allocations: 10.44 kB / 0.6501 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.2511, allocations: 79 kB / 0.6502 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2511, allocations: 0 / 0.6502 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2511, allocations: 0 / 0.6502 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2511, allocations: 1.078 kB / 0.6502 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.2512, allocations: 129.4 kB / 0.6503 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2512, allocations: 3.938 kB / 0.6503 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.2513, allocations: 10.67 kB / 0.6503 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2513, allocations: 1.906 kB / 0.6503 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.2513, allocations: 2.25 kB / 0.6503 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2513, allocations: 1.031 kB / 0.6503 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2513, allocations: 0.5625 kB / 0.6503 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.2514, allocations: 164.2 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.2514, allocations: 8.453 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2515, allocations: 0.6094 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.2515, allocations: 7.578 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.2515, allocations: 3.656 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2516, allocations: 3.156 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.279e-05/0.2516, allocations: 82.39 kB / 0.6506 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2516, allocations: 0 / 0.6506 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001583/0.2517, allocations: 7.688 kB / 0.6506 GB, free: 53.96 MB / 0.5573 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.0003563/0.2521, allocations: 0.7046 MB / 0.6513 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.2523, allocations: 37.17 kB / 0.6513 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2523, allocations: 0.9844 kB / 0.6513 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.363e-05/0.2523, allocations: 25.55 kB / 0.6513 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.2526, allocations: 5.484 kB / 0.6513 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.253, allocations: 137.2 kB / 0.6515 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.2531, allocations: 60.56 kB / 0.6515 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.2531, allocations: 5.234 kB / 0.6515 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.2532, allocations: 11.98 kB / 0.6516 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.2532, allocations: 0 / 0.6516 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.2684, allocations: 2.129 MB / 0.6536 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.383/6.651, allocations: 7.359 kB / 0.6536 GB, free: 52.27 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.242438185960054] Failed to read output from testmodel.py, exit status != 0: 6.727691816166043 6.737096662 6.486872357 Calling exit ...