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.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.001413/0.001413, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001453/0.001453, allocations: 218 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.629/1.629, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9855/0.9855, allocations: 149.9 MB / 463.1 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 71.02 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.209, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002805/0.2118, allocations: 1.452 MB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.2127, allocations: 471 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.2127, allocations: 0 / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.2128, allocations: 3.938 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.2128, allocations: 7.938 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.213, allocations: 23.91 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.2131, allocations: 27.98 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.2132, allocations: 4 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.2133, allocations: 19.86 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.2133, allocations: 7.938 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2133, allocations: 4 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.636e-05/0.2134, allocations: 15.98 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.2134, allocations: 3.984 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.2134, allocations: 15.92 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2135, allocations: 24.19 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2135, allocations: 4 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2135, allocations: 4 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2135, allocations: 0 / 0.7302 GB, free: 14.91 MB / 0.5606 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.0004383/0.214, allocations: 266.2 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.214, allocations: 12.03 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.2141, allocations: 38.69 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.2143, allocations: 16.91 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2144, allocations: 114.5 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2144, allocations: 384 / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2144, allocations: 4.312 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2146, allocations: 57.8 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2146, allocations: 4 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.2146, allocations: 0 / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2146, allocations: 0 / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.2148, allocations: 39.95 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.2152, allocations: 227.9 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2154, allocations: 38.55 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/0.2155, allocations: 28.91 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2155, allocations: 0 / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.2155, allocations: 38.56 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.717e-06/0.2155, allocations: 3.984 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003691/0.2159, allocations: 85.58 kB / 0.7311 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.2159, allocations: 55.41 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.216, allocations: 101.8 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.216, allocations: 29.83 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.2161, allocations: 88.12 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.2161, allocations: 11.89 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.2162, allocations: 13.72 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2163, allocations: 318.8 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.2164, allocations: 15.98 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.2165, allocations: 19.98 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.2167, allocations: 44.88 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2167, allocations: 0 / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002242/0.2169, allocations: 81.55 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2169, allocations: 5.875 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2169, allocations: 0 / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2169, allocations: 0 / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.217, allocations: 11.98 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2171, allocations: 3.938 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.2171, allocations: 8.031 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2171, allocations: 0 / 0.7319 GB, free: 12.97 MB / 0.5606 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 0.0001093/0.2172, allocations: 121.8 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.2173, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.2173, allocations: 7.312 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2173, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2173, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2173, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.2175, allocations: 128.7 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2175, allocations: 8 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.2176, allocations: 7.984 kB / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2176, allocations: 0 / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2176, allocations: 7.938 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2176, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2176, allocations: 3.938 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.2179, allocations: 171.4 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.2179, allocations: 4.25 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2179, allocations: 4.031 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.218, allocations: 11.98 kB / 0.7323 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.2181, allocations: 4 kB / 0.7323 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.2181, allocations: 0 / 0.7323 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.2181, allocations: 87.27 kB / 0.7324 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2181, allocations: 0 / 0.7324 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002158/0.2183, allocations: 4 kB / 0.7324 GB, free: 12.34 MB / 0.5606 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.0006288/0.219, allocations: 0.6978 MB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2192, allocations: 43.95 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2192, allocations: 0 / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.2193, allocations: 15.98 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.2196, allocations: 8 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.2202, allocations: 143 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.522e-05/0.2202, allocations: 59.52 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.2203, allocations: 7.984 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.2203, allocations: 15.38 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2203, allocations: 4 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.249, allocations: 1.952 MB / 0.7353 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.32, allocations: 9.922 kB / 0.7353 GB, free: 9.457 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.260709354653955] Failed to read output from testmodel.py, exit status != 0: 11.43008975405246 11.449979339 11.232618886 Calling exit ...