Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 115.2 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 248.5 MB, free: 3.66 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9006/0.9006, allocations: 129.1 MB / 432.5 MB, free: 13.17 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4248, allocations: 83.43 MB / 0.6802 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002195/0.427, allocations: 1.455 MB / 0.6816 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.4277, allocations: 471.7 kB / 0.682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.4278, allocations: 0 / 0.682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.4278, allocations: 7.938 kB / 0.6821 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.4279, allocations: 5.031 kB / 0.6821 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.4281, allocations: 23.05 kB / 0.6821 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.4282, allocations: 17.7 kB / 0.6821 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.4282, allocations: 6.938 kB / 0.6821 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.4283, allocations: 19.58 kB / 0.6821 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.62e-05/0.4283, allocations: 11.12 kB / 0.6821 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.4284, allocations: 6.375 kB / 0.6821 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.4284, allocations: 21.77 kB / 0.6822 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.4284, allocations: 5.031 kB / 0.6822 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.4285, allocations: 10.41 kB / 0.6822 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.4286, allocations: 36.88 kB / 0.6822 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4286, allocations: 0 / 0.6822 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4286, allocations: 0 / 0.6822 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4286, allocations: 1.281 kB / 0.6822 GB, free: 4.402 MB / 0.4981 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.0003757/0.4289, allocations: 352.3 kB / 0.6825 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.429, allocations: 9.906 kB / 0.6826 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.429, allocations: 30.75 kB / 0.6826 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.429, allocations: 6.281 kB / 0.6826 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.872e-05/0.4291, allocations: 166.8 kB / 0.6827 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4291, allocations: 4.359 kB / 0.6828 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-06/0.4291, allocations: 1.5 kB / 0.6828 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4293, allocations: 49.72 kB / 0.6828 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4293, allocations: 0 / 0.6828 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4293, allocations: 5.078 kB / 0.6828 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4293, allocations: 3.984 kB / 0.6828 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.4295, allocations: 39.41 kB / 0.6828 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.4297, allocations: 253.7 kB / 0.6831 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.4299, allocations: 33.97 kB / 0.6831 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.4299, allocations: 19 kB / 0.6831 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.43, allocations: 84.44 kB / 0.6832 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4301, allocations: 39.66 kB / 0.6833 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4301, allocations: 0 / 0.6833 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003206/0.4304, allocations: 81.55 kB / 0.6833 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.4304, allocations: 51.41 kB / 0.6834 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.4305, allocations: 100.6 kB / 0.6835 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.4305, allocations: 29.83 kB / 0.6835 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.4305, allocations: 89.38 kB / 0.6836 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.4305, allocations: 5.109 kB / 0.6836 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.4305, allocations: 16 kB / 0.6836 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.4306, allocations: 319.9 kB / 0.6839 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.4306, allocations: 16.97 kB / 0.6839 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.4307, allocations: 17.77 kB / 0.684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.4308, allocations: 43.73 kB / 0.684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4308, allocations: 1.156 kB / 0.684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.431, allocations: 76.39 kB / 0.6841 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.431, allocations: 8.062 kB / 0.6841 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.431, allocations: 0 / 0.6841 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.431, allocations: 4.031 kB / 0.6841 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.4311, allocations: 10.42 kB / 0.6841 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4311, allocations: 0 / 0.6841 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.4312, allocations: 4.125 kB / 0.6841 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.4312, allocations: 0.9688 kB / 0.6841 GB, free: 2.438 MB / 0.4981 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.335e-05/0.4312, allocations: 118.8 kB / 0.6842 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.4313, allocations: 2.188 kB / 0.6842 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.4315, allocations: 78.97 kB / 0.6843 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4315, allocations: 0 / 0.6843 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4315, allocations: 1.156 kB / 0.6843 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4315, allocations: 0 / 0.6843 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.4316, allocations: 162.7 kB / 0.6844 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4316, allocations: 0 / 0.6844 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.4316, allocations: 5.969 kB / 0.6844 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4316, allocations: 1.094 kB / 0.6844 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4316, allocations: 0 / 0.6844 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4316, allocations: 8.984 kB / 0.6845 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4316, allocations: 0 / 0.6845 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.4318, allocations: 160.2 kB / 0.6846 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.4318, allocations: 90.08 kB / 0.6847 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.4318, allocations: 0 / 0.6847 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.4319, allocations: 3.594 kB / 0.6847 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.4319, allocations: 10.05 kB / 0.6847 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.4319, allocations: 0 / 0.6847 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.232e-05/0.432, allocations: 87.94 kB / 0.6848 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.432, allocations: 0 / 0.6848 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.4322, allocations: 9.969 kB / 0.6848 GB, free: 1.695 MB / 0.4981 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.0004016/0.4326, allocations: 0.6987 MB / 0.6855 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.4328, allocations: 42.31 kB / 0.6855 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4328, allocations: 0 / 0.6855 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.4329, allocations: 19.39 kB / 0.6855 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.4332, allocations: 14.86 kB / 0.6856 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.4336, allocations: 144.9 kB / 0.6857 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.4337, allocations: 0.6769 MB / 0.6864 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.4338, allocations: 1.344 kB / 0.6864 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.4338, allocations: 12.62 kB / 0.6864 GB, free: 100 kB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4338, allocations: 0 / 0.6864 GB, free: 100 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.4573, allocations: 1.428 MB / 0.6878 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.38, allocations: 8.047 kB / 0.6878 GB, free: 15.29 MB / 0.5138 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.934672150760889] Failed to read output from testmodel.py, exit status != 0: 8.44925160612911 8.474976397 8.042016541 Calling exit ...