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.001893/0.001893, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002165/0.002165, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.031 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.9068/0.9068, allocations: 145 MB / 457.4 MB, free: 20 kB / 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.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.002008/0.002008, allocations: 62.5 kB / 0.6332 GB, free: 7.438 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1688, allocations: 87.89 MB / 0.719 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003242/0.1721, allocations: 1.844 MB / 0.7208 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1731, allocations: 0.5967 MB / 0.7214 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.1732, allocations: 3.938 kB / 0.7214 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1734, allocations: 31.73 kB / 0.7214 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.1734, allocations: 23.73 kB / 0.7214 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1737, allocations: 71.8 kB / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1739, allocations: 167.5 kB / 0.7217 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.174, allocations: 33.73 kB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.1741, allocations: 59.77 kB / 0.7218 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/0.1742, allocations: 59.64 kB / 0.7218 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1743, allocations: 12 kB / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.818e-05/0.1743, allocations: 12 kB / 0.7218 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.1743, allocations: 31.86 kB / 0.7219 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/0.1744, allocations: 63.55 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1746, allocations: 139.3 kB / 0.7221 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1746, allocations: 0 / 0.7221 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1746, allocations: 0 / 0.7221 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.1746, allocations: 0 / 0.7221 GB, free: 12.39 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.0007529/0.1754, allocations: 435.2 kB / 0.7225 GB, free: 11.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1754, allocations: 8.031 kB / 0.7225 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.1755, allocations: 42.73 kB / 0.7225 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.1755, allocations: 20.8 kB / 0.7225 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1758, allocations: 178.1 kB / 0.7227 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1758, allocations: 8.375 kB / 0.7227 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.1759, allocations: 12.38 kB / 0.7227 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.1762, allocations: 156.2 kB / 0.7229 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1762, allocations: 0 / 0.7229 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1762, allocations: 8 kB / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1762, allocations: 7.984 kB / 0.7229 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.1765, allocations: 63.89 kB / 0.723 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009578/0.1774, allocations: 0.7112 MB / 0.7237 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1776, allocations: 50.48 kB / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1777, allocations: 36.98 kB / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.1777, allocations: 3.984 kB / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.178, allocations: 126.7 kB / 0.7239 GB, free: 10.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.178, allocations: 3.938 kB / 0.7239 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004839/0.1784, allocations: 165.3 kB / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1785, allocations: 132.5 kB / 0.7242 GB, free: 10.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1788, allocations: 195.9 kB / 0.7243 GB, free: 9.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1788, allocations: 37.7 kB / 0.7244 GB, free: 9.785 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1789, allocations: 135.7 kB / 0.7245 GB, free: 9.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.1789, allocations: 39.69 kB / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.179, allocations: 37.72 kB / 0.7246 GB, free: 9.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1792, allocations: 334.8 kB / 0.7249 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1793, allocations: 35.97 kB / 0.7249 GB, free: 9.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.1795, allocations: 147.1 kB / 0.7251 GB, free: 9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1798, allocations: 206.3 kB / 0.7253 GB, free: 8.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1799, allocations: 4 kB / 0.7253 GB, free: 8.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004013/0.1803, allocations: 201.7 kB / 0.7255 GB, free: 8.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1803, allocations: 8 kB / 0.7255 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1803, allocations: 7.938 kB / 0.7255 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1803, allocations: 4 kB / 0.7255 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1804, allocations: 31.97 kB / 0.7255 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1804, allocations: 7.938 kB / 0.7255 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1806, allocations: 28.11 kB / 0.7255 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1806, allocations: 8 kB / 0.7256 GB, free: 8.445 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.0001393/0.1807, allocations: 145.8 kB / 0.7257 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1808, allocations: 27.78 kB / 0.7257 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.1808, allocations: 17.41 kB / 0.7257 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1808, allocations: 4 kB / 0.7257 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1808, allocations: 0 / 0.7257 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1809, allocations: 4 kB / 0.7257 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.1816, allocations: 0.4888 MB / 0.7262 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1816, allocations: 0 / 0.7262 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1818, allocations: 19.92 kB / 0.7262 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1818, allocations: 4 kB / 0.7262 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1818, allocations: 4 kB / 0.7262 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1818, allocations: 7.922 kB / 0.7263 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1818, allocations: 4 kB / 0.7263 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.1823, allocations: 352.7 kB / 0.7266 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.1823, allocations: 11.91 kB / 0.7266 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1824, allocations: 12 kB / 0.7266 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1825, allocations: 19.86 kB / 0.7266 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1826, allocations: 19.97 kB / 0.7267 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1826, allocations: 4 kB / 0.7267 GB, free: 7.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001215/0.1827, allocations: 135.2 kB / 0.7268 GB, free: 7.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1827, allocations: 0 / 0.7268 GB, free: 7.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003213/0.183, allocations: 35.89 kB / 0.7268 GB, free: 7.055 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.0008666/0.1839, allocations: 0.8889 MB / 0.7277 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1842, allocations: 115.9 kB / 0.7278 GB, free: 6.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1842, allocations: 4 kB / 0.7278 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1844, allocations: 43.91 kB / 0.7278 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.185, allocations: 71.81 kB / 0.7279 GB, free: 5.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.1878, allocations: 2.275 MB / 0.7301 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1882, allocations: 0.7242 MB / 0.7308 GB, free: 2.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.1883, allocations: 29.95 kB / 0.7309 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.1884, allocations: 47.42 kB / 0.7309 GB, free: 2.621 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.1884, allocations: 0 / 0.7309 GB, free: 2.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.2211, allocations: 4.247 MB / 0.7351 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.13, allocations: 6.031 kB / 0.7351 GB, free: 14.54 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 & 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: 14.976645251001173] Failed to read output from testmodel.py, exit status != 0: 11.236607142000139 11.26200924 11.08294921 Calling exit ...