Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.00134/0.00134, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001542/0.001542, allocations: 213.8 kB / 22.24 MB, free: 5.242 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.789 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.9612/0.9612, allocations: 145 MB / 457.4 MB, free: 15.29 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.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",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.002023/0.002023, allocations: 70.56 kB / 0.6331 GB, free: 6.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1949, allocations: 87.89 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003355/0.1983, allocations: 1.775 MB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1994, allocations: 0.5578 MB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1995, allocations: 11.88 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1997, allocations: 19.73 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.1998, allocations: 27.75 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.2, allocations: 71.84 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2003, allocations: 167.5 kB / 0.7215 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2004, allocations: 29.78 kB / 0.7215 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.2005, allocations: 67.66 kB / 0.7216 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.2006, allocations: 43.72 kB / 0.7216 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.2006, allocations: 8 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.2007, allocations: 12 kB / 0.7216 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.2007, allocations: 31.84 kB / 0.7217 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.2008, allocations: 51.72 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.201, allocations: 147.2 kB / 0.7219 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.201, allocations: 0 / 0.7219 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.201, allocations: 0 / 0.7219 GB, free: 11.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.201, allocations: 4 kB / 0.7219 GB, free: 11.81 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007845/0.2018, allocations: 425.2 kB / 0.7223 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2018, allocations: 12.02 kB / 0.7223 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.2019, allocations: 42.75 kB / 0.7223 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.2019, allocations: 24.8 kB / 0.7223 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.2023, allocations: 186.1 kB / 0.7225 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.2023, allocations: 12.38 kB / 0.7225 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.2023, allocations: 12.38 kB / 0.7225 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.2026, allocations: 148.8 kB / 0.7227 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2026, allocations: 0 / 0.7227 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.2026, allocations: 4 kB / 0.7227 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2027, allocations: 8 kB / 0.7227 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.2029, allocations: 79.81 kB / 0.7228 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009665/0.2039, allocations: 0.6801 MB / 0.7234 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.204, allocations: 54.53 kB / 0.7235 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.2041, allocations: 28.84 kB / 0.7235 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2041, allocations: 4 kB / 0.7235 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.2044, allocations: 138.5 kB / 0.7237 GB, free: 9.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.2044, allocations: 0 / 0.7237 GB, free: 9.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004937/0.2049, allocations: 161.4 kB / 0.7238 GB, free: 9.629 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.205, allocations: 136.5 kB / 0.7239 GB, free: 9.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2052, allocations: 203.9 kB / 0.7241 GB, free: 9.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2052, allocations: 29.7 kB / 0.7242 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2053, allocations: 135.7 kB / 0.7243 GB, free: 9.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.2054, allocations: 39.84 kB / 0.7243 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.2054, allocations: 37.7 kB / 0.7244 GB, free: 9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2056, allocations: 330.8 kB / 0.7247 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2057, allocations: 39.97 kB / 0.7247 GB, free: 8.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.2059, allocations: 147.6 kB / 0.7249 GB, free: 8.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2063, allocations: 202.4 kB / 0.7251 GB, free: 8.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2063, allocations: 0 / 0.7251 GB, free: 8.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004121/0.2067, allocations: 205.4 kB / 0.7253 GB, free: 7.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2067, allocations: 8 kB / 0.7253 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2067, allocations: 4 kB / 0.7253 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2067, allocations: 4 kB / 0.7253 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2069, allocations: 35.92 kB / 0.7253 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.2069, allocations: 11.98 kB / 0.7253 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.207, allocations: 31.83 kB / 0.7253 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.207, allocations: 8.219 kB / 0.7254 GB, free: 7.875 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001214/0.2071, allocations: 137.7 kB / 0.7255 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.2072, allocations: 15.91 kB / 0.7255 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.2072, allocations: 25.39 kB / 0.7255 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2072, allocations: 0 / 0.7255 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2072, allocations: 4 kB / 0.7255 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2072, allocations: 0 / 0.7255 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.208, allocations: 480.6 kB / 0.726 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.208, allocations: 8 kB / 0.726 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2081, allocations: 15.98 kB / 0.726 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2081, allocations: 3.984 kB / 0.726 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2082, allocations: 4.312 kB / 0.726 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2082, allocations: 7.875 kB / 0.726 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2082, allocations: 4 kB / 0.726 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.2087, allocations: 364.2 kB / 0.7264 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.2087, allocations: 24.23 kB / 0.7264 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.2088, allocations: 0 / 0.7264 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.2089, allocations: 19.97 kB / 0.7264 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.209, allocations: 11.97 kB / 0.7264 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.209, allocations: 11.98 kB / 0.7264 GB, free: 6.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001345/0.2092, allocations: 143.2 kB / 0.7266 GB, free: 6.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2092, allocations: 0 / 0.7266 GB, free: 6.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003328/0.2095, allocations: 27.94 kB / 0.7266 GB, free: 6.504 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009044/0.2104, allocations: 0.9032 MB / 0.7275 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.2107, allocations: 108.6 kB / 0.7276 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.2107, allocations: 4 kB / 0.7276 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.2109, allocations: 48.03 kB / 0.7276 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.2114, allocations: 65.34 kB / 0.7277 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.2143, allocations: 2.262 MB / 0.7299 GB, free: 2.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2144, allocations: 116.1 kB / 0.73 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.109e-05/0.2144, allocations: 17.61 kB / 0.73 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.2145, allocations: 55.41 kB / 0.7301 GB, free: 2.691 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.2145, allocations: 3.938 kB / 0.7301 GB, free: 2.688 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.2517, allocations: 4.786 MB / 0.7348 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.58, allocations: 4.062 kB / 0.7348 GB, free: 14.1 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.447497074957937] Failed to read output from testmodel.py, exit status != 0: 11.689448222983629 11.720084491 11.513451335 Calling exit ...