Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007724/0.0007724, 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.0007554/0.0007554, 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.8286/0.8286, 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/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.001369/0.001369, allocations: 234.4 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.6932/0.6932, allocations: 138.4 MB / 454.3 MB, free: 30 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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.644e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001423/0.001449, allocations: 0.5958 MB / 0.6469 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.002815, allocations: 1.136 MB / 0.648 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.002843, allocations: 4 kB / 0.648 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.00286, allocations: 4 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.003114, allocations: 11.94 kB / 0.6481 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.003118, allocations: 0 / 0.6481 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.194e-05/0.00316, allocations: 4 kB / 0.6481 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.003206, allocations: 7.969 kB / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.003235, allocations: 7.938 kB / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.421e-05/0.003259, allocations: 0 / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.003268, allocations: 0 / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.003382, allocations: 19.92 kB / 0.6481 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.003392, allocations: 4 kB / 0.6481 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.003406, allocations: 3.938 kB / 0.6481 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2532/0.2566, allocations: 11.41 kB / 0.6481 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2566, allocations: 0 / 0.6481 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2566, allocations: 0 / 0.6481 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2566, allocations: 1.5 kB / 0.6481 GB, free: 55.89 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.0002241/0.2568, allocations: 242 kB / 0.6483 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2569, allocations: 11.75 kB / 0.6484 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.2569, allocations: 31.88 kB / 0.6484 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.2569, allocations: 0.9375 kB / 0.6484 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.753e-05/0.2569, allocations: 107.3 kB / 0.6485 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2569, allocations: 3.75 kB / 0.6485 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.257, allocations: 2.156 kB / 0.6485 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.2571, allocations: 37.61 kB / 0.6485 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2571, allocations: 2.125 kB / 0.6485 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.2571, allocations: 0.9062 kB / 0.6485 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2571, allocations: 6.562 kB / 0.6485 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.2571, allocations: 6.781 kB / 0.6486 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.795e-05/0.2572, allocations: 120.1 kB / 0.6487 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.2574, allocations: 34.17 kB / 0.6487 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.2574, allocations: 14.2 kB / 0.6487 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2575, allocations: 4.062 kB / 0.6487 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2575, allocations: 37.39 kB / 0.6488 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.2575, allocations: 0 / 0.6488 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.002078/0.2596, allocations: 0.5759 MB / 0.6493 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.2596, allocations: 53 kB / 0.6494 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.44e-05/0.2596, allocations: 91.94 kB / 0.6495 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2597, allocations: 26.98 kB / 0.6495 GB, free: 55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-06/0.2597, allocations: 91.17 kB / 0.6496 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.2597, allocations: 14.59 kB / 0.6496 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.2597, allocations: 20.33 kB / 0.6496 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.2598, allocations: 314.7 kB / 0.6499 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.26, allocations: 80.7 kB / 0.65 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.2603, allocations: 103.5 kB / 0.6501 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.2608, allocations: 194.2 kB / 0.6503 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2608, allocations: 1.875 kB / 0.6503 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000549/0.2614, allocations: 209.3 kB / 0.6505 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2614, allocations: 5.656 kB / 0.6505 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.2614, allocations: 1.844 kB / 0.6505 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2614, allocations: 3.938 kB / 0.6505 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.2616, allocations: 50.66 kB / 0.6505 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2616, allocations: 7.047 kB / 0.6505 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2618, allocations: 42.14 kB / 0.6506 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2618, allocations: 4.172 kB / 0.6506 GB, free: 54.45 MB / 0.5573 GB 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 5.711e-05/0.2618, allocations: 114.5 kB / 0.6507 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.2618, allocations: 4.109 kB / 0.6507 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.2625, allocations: 236.6 kB / 0.6509 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2625, allocations: 4.5 kB / 0.6509 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2625, allocations: 1.719 kB / 0.6509 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2625, allocations: 0.5625 kB / 0.6509 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007397/0.2632, allocations: 427 kB / 0.6513 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2632, allocations: 2.25 kB / 0.6513 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.2634, allocations: 53.39 kB / 0.6514 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2634, allocations: 0 / 0.6514 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2634, allocations: 5.062 kB / 0.6514 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2634, allocations: 0 / 0.6514 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2634, allocations: 0.5625 kB / 0.6514 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.2639, allocations: 305.2 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.264, allocations: 0.9844 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.264, allocations: 5.875 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.2641, allocations: 39.23 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2641, allocations: 8.312 kB / 0.6517 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2641, allocations: 2.594 kB / 0.6517 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.17e-05/0.2642, allocations: 76.22 kB / 0.6518 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2642, allocations: 0 / 0.6518 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001744/0.2643, allocations: 12.16 kB / 0.6518 GB, free: 53.76 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 (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.0007241/0.2651, allocations: 0.8422 MB / 0.6526 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.2656, allocations: 180 kB / 0.6528 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2656, allocations: 0 / 0.6528 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2658, allocations: 93.5 kB / 0.6529 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.266, allocations: 10.28 kB / 0.6529 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.2667, allocations: 249.6 kB / 0.6531 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.2667, allocations: 59.19 kB / 0.6532 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.2668, allocations: 27.75 kB / 0.6532 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.2669, allocations: 18.5 kB / 0.6532 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/0.2669, allocations: 0 / 0.6532 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.2844, allocations: 2.299 MB / 0.6555 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/6.898, allocations: 8.562 kB / 0.6555 GB, free: 52.04 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.489873815327883] Failed to read output from testmodel.py, exit status != 0: 6.975075182504952 6.982493601 6.724443364 Calling exit ...