Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001344/0.001344, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001469/0.001469, allocations: 215.7 kB / 23.78 MB, free: 4.555 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 / 257.5 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9819/0.9819, allocations: 150 MB / 464 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00201/0.00201, allocations: 62.53 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 89.18 MB / 0.729 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002039/0.1788, allocations: 0.7287 MB / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.18, allocations: 0.886 MB / 0.7306 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.1801, allocations: 0 / 0.7306 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.1801, allocations: 11.86 kB / 0.7306 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.1802, allocations: 7.938 kB / 0.7306 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1804, allocations: 47.88 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1806, allocations: 79.83 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1807, allocations: 19.98 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.1808, allocations: 39.84 kB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1809, allocations: 51.83 kB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1809, allocations: 8 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.1809, allocations: 8 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.181, allocations: 19.91 kB / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.181, allocations: 31.86 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1812, allocations: 87.88 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1812, allocations: 0 / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1812, allocations: 0 / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.1812, allocations: 0 / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006779/0.1819, allocations: 334 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1819, allocations: 8.031 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/0.1819, allocations: 8.172 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.182, allocations: 42.67 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.182, allocations: 8.891 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1822, allocations: 122.4 kB / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1822, allocations: 8.375 kB / 0.7315 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1822, allocations: 7.938 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.1825, allocations: 105.6 kB / 0.7316 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1826, allocations: 0 / 0.7316 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1826, allocations: 4 kB / 0.7316 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1826, allocations: 0 / 0.7316 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.183, allocations: 99.83 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.1836, allocations: 299.8 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.1843, allocations: 118.5 kB / 0.7321 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1845, allocations: 56.81 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.1845, allocations: 0 / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1845, allocations: 34.56 kB / 0.7322 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1845, allocations: 3.938 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006838/0.1852, allocations: 185.5 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1852, allocations: 59.34 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1853, allocations: 127.2 kB / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1854, allocations: 29.64 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.1854, allocations: 92.08 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1855, allocations: 19.84 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.1855, allocations: 25.7 kB / 0.7327 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1857, allocations: 318.8 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.1858, allocations: 47.95 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.186, allocations: 43.95 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.1864, allocations: 96.78 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1864, allocations: 0 / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004375/0.1868, allocations: 141.5 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1868, allocations: 8 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1868, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1869, allocations: 3.938 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.187, allocations: 23.97 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.187, allocations: 3.938 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1872, allocations: 23.92 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1872, allocations: 4 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001127/0.1873, allocations: 113.8 kB / 0.7335 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1873, allocations: 0 / 0.7335 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.1874, allocations: 12.38 kB / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1874, allocations: 0 / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1874, allocations: 3.938 kB / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1874, allocations: 3.984 kB / 0.7335 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1876, allocations: 160.7 kB / 0.7337 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1876, allocations: 0 / 0.7337 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.1878, allocations: 27.97 kB / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1878, allocations: 0 / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1878, allocations: 0 / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.1878, allocations: 7.938 kB / 0.7337 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.1878, allocations: 7.938 kB / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.1883, allocations: 235.4 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.1883, allocations: 7.938 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1883, allocations: 7.938 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1885, allocations: 15.95 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.1885, allocations: 27.91 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1885, allocations: 4 kB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.1886, allocations: 96.58 kB / 0.7341 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1886, allocations: 0 / 0.7341 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00024/0.1888, allocations: 19.89 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007842/0.1896, allocations: 0.7677 MB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.19, allocations: 108 kB / 0.735 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1901, allocations: 0 / 0.735 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1903, allocations: 59.89 kB / 0.7351 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1906, allocations: 22.27 kB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1928, allocations: 1.532 MB / 0.7366 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.825e-05/0.1929, allocations: 75.58 kB / 0.7366 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.575e-05/0.1929, allocations: 11.98 kB / 0.7367 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.193, allocations: 31.42 kB / 0.7367 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.193, allocations: 0 / 0.7367 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.2162, allocations: 2.989 MB / 0.7396 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.58, allocations: 15.34 kB / 0.7396 GB, free: 5.719 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.421423926018178] Failed to read output from testmodel.py, exit status != 0: 11.751313088927418 11.76913164 11.584600968 Calling exit ...