Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001274/0.001274, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001568/0.001568, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9596/0.9596, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.003121/0.003121, allocations: 70.53 kB / 0.6331 GB, free: 6.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2172, allocations: 87.89 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003044/0.2203, allocations: 1.436 MB / 0.7203 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008327/0.2211, allocations: 479.8 kB / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.2211, allocations: 0 / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.2212, allocations: 4 kB / 0.7208 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.2212, allocations: 7.938 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.2214, allocations: 23.91 kB / 0.7208 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.2215, allocations: 19.94 kB / 0.7208 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.769e-05/0.2216, allocations: 7.984 kB / 0.7209 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/0.2216, allocations: 15.94 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.37e-05/0.2216, allocations: 7.969 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2217, allocations: 4 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.2217, allocations: 15.98 kB / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2217, allocations: 11.94 kB / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.2217, allocations: 0 / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.2219, allocations: 43.77 kB / 0.721 GB, free: 12.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2219, allocations: 3.938 kB / 0.721 GB, free: 12.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2219, allocations: 0 / 0.721 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2219, allocations: 0 / 0.721 GB, free: 12.71 MB / 0.545 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.0004691/0.2223, allocations: 276.2 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2224, allocations: 8.031 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.2224, allocations: 30.75 kB / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.2224, allocations: 8.922 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.762e-05/0.2225, allocations: 106.5 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2225, allocations: 384 / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.2226, allocations: 8.375 kB / 0.7214 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2227, allocations: 49.8 kB / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2227, allocations: 3.938 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2227, allocations: 4 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2227, allocations: 4 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2229, allocations: 39.89 kB / 0.7215 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.2232, allocations: 216 kB / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2233, allocations: 38.55 kB / 0.7217 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.2234, allocations: 20.91 kB / 0.7217 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.2235, allocations: 8 kB / 0.7217 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2235, allocations: 38.55 kB / 0.7218 GB, free: 11.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2235, allocations: 3.938 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000329/0.2239, allocations: 77.66 kB / 0.7219 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.2239, allocations: 55.39 kB / 0.7219 GB, free: 11.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.224, allocations: 97.86 kB / 0.722 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.224, allocations: 29.7 kB / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.2241, allocations: 80.14 kB / 0.7221 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2241, allocations: 4.078 kB / 0.7221 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.2241, allocations: 25.7 kB / 0.7221 GB, free: 11.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2243, allocations: 314.8 kB / 0.7224 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.2243, allocations: 15.98 kB / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.2244, allocations: 15.98 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2246, allocations: 44.75 kB / 0.7225 GB, free: 10.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2246, allocations: 0 / 0.7225 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.2247, allocations: 69.72 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2248, allocations: 4 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.2248, allocations: 0 / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2248, allocations: 0 / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.2249, allocations: 8 kB / 0.7226 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2249, allocations: 0 / 0.7226 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.2249, allocations: 11.98 kB / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2249, allocations: 3.984 kB / 0.7226 GB, free: 10.83 MB / 0.545 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 8.81e-05/0.225, allocations: 117.8 kB / 0.7227 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.225, allocations: 7.891 kB / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.2253, allocations: 80.89 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2253, allocations: 0 / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2253, allocations: 0 / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2253, allocations: 3.938 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2254, allocations: 136.6 kB / 0.7229 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2254, allocations: 0 / 0.7229 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.2255, allocations: 12.28 kB / 0.7229 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2255, allocations: 0 / 0.7229 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2255, allocations: 4 kB / 0.7229 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2255, allocations: 3.984 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2255, allocations: 0 / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.2258, allocations: 167.4 kB / 0.7231 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.2258, allocations: 3.984 kB / 0.7231 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.2258, allocations: 0 / 0.7231 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.2259, allocations: 8.031 kB / 0.7231 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.2259, allocations: 7.984 kB / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2259, allocations: 0 / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.2259, allocations: 83.28 kB / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2259, allocations: 0 / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002158/0.2261, allocations: 4 kB / 0.7232 GB, free: 10.12 MB / 0.545 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.0005882/0.2267, allocations: 0.709 MB / 0.7239 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.2269, allocations: 39.94 kB / 0.7239 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2269, allocations: 0 / 0.7239 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.227, allocations: 19.98 kB / 0.724 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2273, allocations: 7.984 kB / 0.724 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.2278, allocations: 143.1 kB / 0.7241 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.816e-05/0.2278, allocations: 63.47 kB / 0.7242 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.2279, allocations: 4 kB / 0.7242 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.2279, allocations: 11.44 kB / 0.7242 GB, free: 9.043 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2279, allocations: 0 / 0.7242 GB, free: 9.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.2573, allocations: 1.984 MB / 0.7261 GB, free: 7.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.32, allocations: 9.797 kB / 0.7261 GB, free: 7.203 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.998697862960398] Failed to read output from testmodel.py, exit status != 0: 11.426970807369798 11.439933961 11.215050912 Calling exit ...