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.001335/0.001335, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001521/0.001521, allocations: 212.3 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.777 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.9461/0.9461, 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.002122/0.002122, allocations: 72.55 kB / 0.6331 GB, free: 6.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1787, allocations: 87.88 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003671/0.1824, allocations: 1.779 MB / 0.7207 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1836, allocations: 0.5617 MB / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1837, allocations: 3.938 kB / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1838, allocations: 27.73 kB / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.1839, allocations: 23.72 kB / 0.7213 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.1841, allocations: 79.84 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1844, allocations: 159.5 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1845, allocations: 37.78 kB / 0.7215 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1846, allocations: 63.66 kB / 0.7216 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.1847, allocations: 47.7 kB / 0.7216 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.1847, allocations: 12 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.311e-05/0.1848, allocations: 8 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.1848, allocations: 27.86 kB / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.1849, allocations: 51.72 kB / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1851, allocations: 143.2 kB / 0.7219 GB, free: 11.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.1851, allocations: 8 kB / 0.7219 GB, free: 11.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1851, allocations: 4 kB / 0.7219 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.1851, allocations: 0 / 0.7219 GB, free: 11.79 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.0009124/0.1861, allocations: 423.2 kB / 0.7223 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.1861, allocations: 12.03 kB / 0.7223 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/0.1862, allocations: 38.73 kB / 0.7223 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.1862, allocations: 24.8 kB / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.1867, allocations: 178.1 kB / 0.7225 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1867, allocations: 12.38 kB / 0.7225 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1867, allocations: 16.36 kB / 0.7225 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.187, allocations: 152.8 kB / 0.7227 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1871, allocations: 0 / 0.7227 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1871, allocations: 8 kB / 0.7227 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1871, allocations: 0 / 0.7227 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.1873, allocations: 75.88 kB / 0.7228 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1883, allocations: 0.684 MB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1885, allocations: 38.56 kB / 0.7235 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1886, allocations: 36.83 kB / 0.7235 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1886, allocations: 3.984 kB / 0.7235 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.1889, allocations: 130.7 kB / 0.7236 GB, free: 9.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.1889, allocations: 0 / 0.7236 GB, free: 9.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005035/0.1894, allocations: 177.3 kB / 0.7238 GB, free: 9.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1895, allocations: 132.7 kB / 0.7239 GB, free: 9.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1897, allocations: 199.6 kB / 0.7241 GB, free: 9.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1897, allocations: 33.64 kB / 0.7242 GB, free: 9.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1898, allocations: 136 kB / 0.7243 GB, free: 9.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.1899, allocations: 43.69 kB / 0.7243 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.1899, allocations: 41.7 kB / 0.7244 GB, free: 8.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1901, allocations: 326.8 kB / 0.7247 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1902, allocations: 35.97 kB / 0.7247 GB, free: 8.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1904, allocations: 149.1 kB / 0.7249 GB, free: 8.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.1908, allocations: 202.4 kB / 0.725 GB, free: 8.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1908, allocations: 0 / 0.725 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003953/0.1912, allocations: 209.6 kB / 0.7252 GB, free: 7.961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1912, allocations: 8 kB / 0.7253 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.1912, allocations: 4 kB / 0.7253 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1912, allocations: 4 kB / 0.7253 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1913, allocations: 31.92 kB / 0.7253 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1913, allocations: 11.94 kB / 0.7253 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1915, allocations: 35.81 kB / 0.7253 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1915, allocations: 8 kB / 0.7253 GB, free: 7.859 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.0001334/0.1916, allocations: 137.7 kB / 0.7255 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1917, allocations: 23.91 kB / 0.7255 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.1917, allocations: 21.39 kB / 0.7255 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1917, allocations: 4 kB / 0.7255 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1917, allocations: 0 / 0.7255 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1917, allocations: 0 / 0.7255 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.1925, allocations: 480.7 kB / 0.726 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1925, allocations: 0 / 0.726 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1926, allocations: 19.98 kB / 0.726 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1926, allocations: 4 kB / 0.726 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1927, allocations: 4 kB / 0.726 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.1927, allocations: 7.875 kB / 0.726 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1927, allocations: 7.984 kB / 0.726 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.1932, allocations: 352.7 kB / 0.7264 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.1932, allocations: 19.86 kB / 0.7264 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.1933, allocations: 4 kB / 0.7264 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1934, allocations: 27.86 kB / 0.7264 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.1935, allocations: 16.34 kB / 0.7264 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1935, allocations: 4 kB / 0.7264 GB, free: 6.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000134/0.1936, allocations: 139.2 kB / 0.7266 GB, free: 6.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1936, allocations: 0 / 0.7266 GB, free: 6.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003318/0.194, allocations: 35.94 kB / 0.7266 GB, free: 6.488 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.0008911/0.1949, allocations: 0.9038 MB / 0.7275 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1952, allocations: 115.7 kB / 0.7276 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1952, allocations: 0 / 0.7276 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1953, allocations: 48.91 kB / 0.7276 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.1959, allocations: 64.17 kB / 0.7277 GB, free: 5.336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.1986, allocations: 2.263 MB / 0.7299 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.1988, allocations: 112.1 kB / 0.73 GB, free: 2.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1988, allocations: 21.61 kB / 0.73 GB, free: 2.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.1989, allocations: 51.42 kB / 0.7301 GB, free: 2.676 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.1989, allocations: 0 / 0.7301 GB, free: 2.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.2325, allocations: 4.785 MB / 0.7348 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.48, allocations: 6.703 kB / 0.7348 GB, free: 14.08 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 & /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.191976836882532] Failed to read output from testmodel.py, exit status != 0: 11.594985730946064 11.621641878 11.431698809 Calling exit ...