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.0009239/0.0009239, 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.001046/0.001046, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8585/0.8585, allocations: 177.1 MB / 202.8 MB, free: 5.598 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.001367/0.001367, allocations: 237.3 kB / 259.4 MB, free: 12.88 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.6384/0.6384, allocations: 138.4 MB / 454.3 MB, free: 30.06 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.443e-06/1.443e-06, allocations: 3.938 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.987e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001928/0.001948, allocations: 1.457 MB / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2302/0.2322, allocations: 471.2 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.2322, allocations: 0.8125 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.2322, allocations: 2.938 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.2323, allocations: 3.312 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.2325, allocations: 21.12 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.2325, allocations: 30.86 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.569e-05/0.2326, allocations: 4.672 kB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.2327, allocations: 15.62 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.814e-05/0.2327, allocations: 9.328 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.2327, allocations: 1.5 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.088e-05/0.2328, allocations: 22.28 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.2328, allocations: 3.438 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.2328, allocations: 7.859 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.85e-05/0.2329, allocations: 36.48 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2329, allocations: 1.766 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2329, allocations: 1.219 kB / 0.6483 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2329, allocations: 1 kB / 0.6483 GB, free: 55.87 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.0002718/0.2331, allocations: 265.1 kB / 0.6486 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2332, allocations: 11.81 kB / 0.6486 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.988e-05/0.2332, allocations: 35.59 kB / 0.6486 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.98e-05/0.2332, allocations: 6.594 kB / 0.6486 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.134e-05/0.2333, allocations: 108 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.2333, allocations: 2.031 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.2333, allocations: 6.875 kB / 0.6488 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2334, allocations: 47.59 kB / 0.6488 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2334, allocations: 4.172 kB / 0.6488 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2334, allocations: 5.844 kB / 0.6488 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2334, allocations: 1 kB / 0.6488 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.2335, allocations: 34.88 kB / 0.6488 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.2337, allocations: 221.4 kB / 0.6491 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.2338, allocations: 41.64 kB / 0.6491 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.2338, allocations: 27.34 kB / 0.6491 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.2339, allocations: 5.578 kB / 0.6491 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.2339, allocations: 33.88 kB / 0.6492 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2339, allocations: 1.625 kB / 0.6492 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002131/0.2341, allocations: 89.56 kB / 0.6492 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.2341, allocations: 52.88 kB / 0.6493 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.948e-05/0.2342, allocations: 102 kB / 0.6494 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.2342, allocations: 26.45 kB / 0.6494 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.2342, allocations: 86.47 kB / 0.6495 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.2342, allocations: 6.172 kB / 0.6495 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.2342, allocations: 15.75 kB / 0.6495 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.775e-05/0.2343, allocations: 315.2 kB / 0.6498 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.2343, allocations: 16.97 kB / 0.6498 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.2343, allocations: 17.7 kB / 0.6499 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.2344, allocations: 39.14 kB / 0.6499 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2344, allocations: 7.125 kB / 0.6499 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.853e-05/0.2345, allocations: 68.66 kB / 0.65 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2345, allocations: 5.25 kB / 0.65 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2345, allocations: 1.875 kB / 0.65 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2345, allocations: 0 / 0.65 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.2346, allocations: 10.02 kB / 0.65 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2346, allocations: 1.109 kB / 0.65 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.2346, allocations: 12.83 kB / 0.65 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.2346, allocations: 0.9375 kB / 0.65 GB, free: 54.42 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 3.827e-05/0.2347, allocations: 110.7 kB / 0.6501 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2347, allocations: 11.09 kB / 0.6501 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.2348, allocations: 75.95 kB / 0.6502 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2348, allocations: 1.891 kB / 0.6502 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2348, allocations: 0 / 0.6502 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2348, allocations: 0.5625 kB / 0.6502 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.456e-05/0.2349, allocations: 124.2 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2349, allocations: 4.719 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.2349, allocations: 14.58 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.2349, allocations: 2.766 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.2349, allocations: 3.641 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.2349, allocations: 1.469 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2349, allocations: 0 / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.235, allocations: 162.1 kB / 0.6505 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.235, allocations: 5.844 kB / 0.6505 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.235, allocations: 1.672 kB / 0.6505 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.2351, allocations: 5.953 kB / 0.6505 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.2351, allocations: 2.609 kB / 0.6505 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.2351, allocations: 6.031 kB / 0.6505 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.461e-05/0.2351, allocations: 83.61 kB / 0.6506 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2351, allocations: 0 / 0.6506 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001435/0.2353, allocations: 9.344 kB / 0.6506 GB, free: 53.9 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.0002251/0.2355, allocations: 0.7019 MB / 0.6513 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.2356, allocations: 42.56 kB / 0.6513 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.2356, allocations: 0.7188 kB / 0.6513 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.2356, allocations: 17.88 kB / 0.6513 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.2358, allocations: 7.406 kB / 0.6513 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.2361, allocations: 140.6 kB / 0.6515 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.2362, allocations: 60.08 kB / 0.6515 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.801e-05/0.2362, allocations: 6.078 kB / 0.6515 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.2362, allocations: 13.3 kB / 0.6516 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of SimCode: time 4.21e-07/0.2362, allocations: 0 / 0.6516 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.2491, allocations: 2.138 MB / 0.6536 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.443/6.692, allocations: 2.281 kB / 0.6536 GB, free: 52.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.127278928644955] Failed to read output from testmodel.py, exit status != 0: 6.767810702323914 6.775906503 6.541325868 Calling exit ...