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.001258/0.001258, allocations: 113.5 kB / 19.73 MB, free: 2.242 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: 219.6 kB / 23.04 MB, free: 5.074 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9161/0.9161, allocations: 145 MB / 458.2 MB, free: 15.49 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",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.002701/0.002701, allocations: 62.25 kB / 0.6339 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1915, allocations: 87.88 MB / 0.7198 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003274/0.1947, allocations: 1.851 MB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.196, allocations: 0.5928 MB / 0.7222 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1961, allocations: 7.938 kB / 0.7222 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1963, allocations: 19.73 kB / 0.7222 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.1964, allocations: 31.72 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1966, allocations: 67.86 kB / 0.7223 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1969, allocations: 171.5 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.197, allocations: 33.73 kB / 0.7225 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.1971, allocations: 55.78 kB / 0.7225 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1972, allocations: 63.62 kB / 0.7226 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1973, allocations: 8 kB / 0.7226 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.1973, allocations: 12 kB / 0.7226 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.1973, allocations: 31.8 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.1974, allocations: 67.55 kB / 0.7227 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1977, allocations: 139.3 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1977, allocations: 0 / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1977, allocations: 4 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.1977, allocations: 0 / 0.7228 GB, free: 12.29 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.0008243/0.1985, allocations: 427.2 kB / 0.7232 GB, free: 11.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.1986, allocations: 12.03 kB / 0.7233 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.778e-05/0.1986, allocations: 192 / 0.7233 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.1986, allocations: 46.73 kB / 0.7233 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1987, allocations: 28.8 kB / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.199, allocations: 170.2 kB / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.199, allocations: 12.38 kB / 0.7235 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1991, allocations: 12.38 kB / 0.7235 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.1994, allocations: 154.4 kB / 0.7237 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1994, allocations: 4 kB / 0.7237 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1994, allocations: 0 / 0.7237 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1994, allocations: 4 kB / 0.7237 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.1997, allocations: 75.81 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.2007, allocations: 0.7035 MB / 0.7244 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.2009, allocations: 50.48 kB / 0.7245 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.201, allocations: 32.84 kB / 0.7245 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.201, allocations: 7.922 kB / 0.7245 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.2013, allocations: 118.8 kB / 0.7246 GB, free: 10.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.2013, allocations: 0 / 0.7246 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005181/0.2018, allocations: 173.3 kB / 0.7248 GB, free: 10.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2019, allocations: 128.7 kB / 0.7249 GB, free: 9.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2021, allocations: 199.7 kB / 0.7251 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2021, allocations: 29.7 kB / 0.7251 GB, free: 9.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2022, allocations: 139.9 kB / 0.7253 GB, free: 9.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.2023, allocations: 39.64 kB / 0.7253 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.2024, allocations: 45.7 kB / 0.7253 GB, free: 9.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2025, allocations: 330.8 kB / 0.7257 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2026, allocations: 36.22 kB / 0.7257 GB, free: 9.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.2028, allocations: 145.3 kB / 0.7258 GB, free: 8.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.2032, allocations: 214.3 kB / 0.726 GB, free: 8.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2032, allocations: 0 / 0.726 GB, free: 8.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004145/0.2036, allocations: 205.3 kB / 0.7262 GB, free: 8.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2036, allocations: 8 kB / 0.7262 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.2036, allocations: 4.5 kB / 0.7262 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.2036, allocations: 12.03 kB / 0.7263 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2038, allocations: 35.91 kB / 0.7263 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.2038, allocations: 7.938 kB / 0.7263 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.2039, allocations: 27.88 kB / 0.7263 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2039, allocations: 12 kB / 0.7263 GB, free: 8.332 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.0001425/0.2041, allocations: 140.1 kB / 0.7265 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.2041, allocations: 19.86 kB / 0.7265 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.2042, allocations: 29.39 kB / 0.7265 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2042, allocations: 0 / 0.7265 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2042, allocations: 0 / 0.7265 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.2042, allocations: 4 kB / 0.7265 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.2051, allocations: 496.6 kB / 0.727 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2051, allocations: 0 / 0.727 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.2052, allocations: 23.92 kB / 0.727 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2052, allocations: 4 kB / 0.727 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2052, allocations: 0 / 0.727 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.2052, allocations: 7.938 kB / 0.727 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2052, allocations: 0 / 0.727 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.2059, allocations: 360.2 kB / 0.7274 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.2059, allocations: 19.94 kB / 0.7274 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.206, allocations: 3.938 kB / 0.7274 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2061, allocations: 19.92 kB / 0.7274 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.2062, allocations: 11.97 kB / 0.7274 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2062, allocations: 8 kB / 0.7274 GB, free: 7.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001354/0.2064, allocations: 143.2 kB / 0.7276 GB, free: 6.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2064, allocations: 0 / 0.7276 GB, free: 6.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003329/0.2067, allocations: 27.95 kB / 0.7276 GB, free: 6.953 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.0008548/0.2075, allocations: 0.8929 MB / 0.7285 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.2079, allocations: 116.7 kB / 0.7286 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2079, allocations: 4.062 kB / 0.7286 GB, free: 5.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.208, allocations: 51.84 kB / 0.7286 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.2086, allocations: 63.33 kB / 0.7287 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.2116, allocations: 2.279 MB / 0.7309 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.2121, allocations: 0.7242 MB / 0.7316 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.2122, allocations: 25.59 kB / 0.7317 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/0.2123, allocations: 51.42 kB / 0.7317 GB, free: 2.512 MB / 0.545 GB Notification: Performance of SimCode: time 1.533e-06/0.2123, allocations: 0 / 0.7317 GB, free: 2.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.2387, allocations: 4.279 MB / 0.7359 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 4.062 kB / 0.7359 GB, free: 14.41 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.063235000008717] Failed to read output from testmodel.py, exit status != 0: 11.428165126009844 11.44461555 11.242770634 Calling exit ...