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.0014/0.0014, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001407/0.001407, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9327/0.9327, allocations: 145 MB / 454.5 MB, free: 9.988 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",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.002038/0.002038, allocations: 68.84 kB / 0.6287 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1753, allocations: 87.83 MB / 0.7145 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002763/0.178, allocations: 1.454 MB / 0.7159 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000834/0.1789, allocations: 0.5035 MB / 0.7164 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.1789, allocations: 4 kB / 0.7164 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.1789, allocations: 3.938 kB / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.179, allocations: 15.91 kB / 0.7164 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.1792, allocations: 15.98 kB / 0.7164 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.1793, allocations: 27.92 kB / 0.7165 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.1793, allocations: 0 / 0.7165 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.1794, allocations: 11.94 kB / 0.7165 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.1794, allocations: 15.92 kB / 0.7165 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1795, allocations: 4 kB / 0.7165 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.786e-05/0.1795, allocations: 19.97 kB / 0.7165 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1795, allocations: 7.984 kB / 0.7165 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.1796, allocations: 11.94 kB / 0.7165 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1797, allocations: 36.11 kB / 0.7166 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1797, allocations: 0 / 0.7166 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1797, allocations: 7.938 kB / 0.7166 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1797, allocations: 0 / 0.7166 GB, free: 9.551 MB / 0.5294 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.000458/0.1801, allocations: 339.4 kB / 0.7169 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1802, allocations: 16.02 kB / 0.7169 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.704e-05/0.1802, allocations: 4.188 kB / 0.7169 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.1802, allocations: 34.69 kB / 0.7169 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.1802, allocations: 0.9375 kB / 0.7169 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1804, allocations: 164.4 kB / 0.7171 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1804, allocations: 4.375 kB / 0.7171 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1804, allocations: 4.312 kB / 0.7171 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1806, allocations: 53.61 kB / 0.7172 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1806, allocations: 0 / 0.7172 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.1806, allocations: 0 / 0.7172 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1806, allocations: 4 kB / 0.7172 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1807, allocations: 39.94 kB / 0.7172 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1811, allocations: 252.8 kB / 0.7174 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1812, allocations: 38.55 kB / 0.7175 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1813, allocations: 28.91 kB / 0.7175 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.1815, allocations: 81.11 kB / 0.7176 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1815, allocations: 34.55 kB / 0.7176 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1815, allocations: 0 / 0.7176 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003666/0.1819, allocations: 81.59 kB / 0.7177 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1819, allocations: 51.53 kB / 0.7177 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.182, allocations: 109.8 kB / 0.7178 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.182, allocations: 25.7 kB / 0.7179 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.1821, allocations: 80.14 kB / 0.718 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1821, allocations: 7.891 kB / 0.718 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1821, allocations: 21.7 kB / 0.718 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1823, allocations: 314.8 kB / 0.7183 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.1824, allocations: 15.98 kB / 0.7183 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.1824, allocations: 20.23 kB / 0.7183 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1826, allocations: 40.81 kB / 0.7184 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1826, allocations: 4 kB / 0.7184 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.1828, allocations: 65.61 kB / 0.7184 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1828, allocations: 16.08 kB / 0.7184 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1828, allocations: 0 / 0.7184 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1828, allocations: 0 / 0.7184 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.1829, allocations: 4 kB / 0.7184 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1829, allocations: 4 kB / 0.7184 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.183, allocations: 7.984 kB / 0.7184 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.183, allocations: 0 / 0.7184 GB, free: 7.371 MB / 0.5294 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.907e-05/0.1831, allocations: 109.8 kB / 0.7186 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1831, allocations: 11.89 kB / 0.7186 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1833, allocations: 80.7 kB / 0.7186 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1833, allocations: 3.938 kB / 0.7186 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1834, allocations: 0 / 0.7186 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1834, allocations: 0 / 0.7186 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1835, allocations: 161.6 kB / 0.7188 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1835, allocations: 0 / 0.7188 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.1836, allocations: 7.984 kB / 0.7188 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1836, allocations: 4.031 kB / 0.7188 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1836, allocations: 4 kB / 0.7188 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1836, allocations: 0 / 0.7188 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1836, allocations: 0 / 0.7188 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1839, allocations: 163.5 kB / 0.719 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.1839, allocations: 77.11 kB / 0.719 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1839, allocations: 32 / 0.719 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.184, allocations: 11.98 kB / 0.7191 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.184, allocations: 7.938 kB / 0.7191 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.184, allocations: 0 / 0.7191 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.1841, allocations: 87.27 kB / 0.7191 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1841, allocations: 0 / 0.7191 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002194/0.1843, allocations: 4 kB / 0.7192 GB, free: 6.551 MB / 0.5294 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.000642/0.185, allocations: 0.707 MB / 0.7198 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.1852, allocations: 39.89 kB / 0.7199 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1852, allocations: 0 / 0.7199 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.1853, allocations: 24.08 kB / 0.7199 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1856, allocations: 4 kB / 0.7199 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.186, allocations: 147.1 kB / 0.72 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1863, allocations: 0.6729 MB / 0.7207 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.1864, allocations: 3.984 kB / 0.7207 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.1864, allocations: 15.42 kB / 0.7207 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1864, allocations: 64 / 0.7207 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.204, allocations: 1.493 MB / 0.7222 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.361, allocations: 5.547 kB / 0.7222 GB, free: 3.477 MB / 0.5294 GB " [Timeout remaining time 652] (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: 12.206532752956264] Failed to read output from testmodel.py, exit status != 0: 8.485614693025127 8.508496368 8.32467211 Calling exit ...